Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

How to set up a Production environment Question

+3
−0

How to set up a Production environment

We got QPixel to work on localhost but we are struggling to get it working "online". Could someone point us in the right direction? What steps are necessary to get QPixel running on an external IP address and/or domain?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

3 answers

You are accessing this answer with a direct link, so it's being shown above all other answers regardless of its score. You can return to the normal view.

+0
−0

So in other words, the installation step Community.create(name: 'Dev Community', host: 'localhost:3000') should be:

Community.create(name: 'Dev Community', host: 'qpixel.domain.com')

Or not?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+4
−0

I've added a much more detailed server set up guide for setting up self-hosted instances aimed at system administrators. You can find it on the codidact wiki at https://github.com/codidact/qpixel/wiki/Setting-up-a-Self-Hosted-Instance

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+2
−0

Assuming you've followed the steps in the guide to setting up development, changing that to a production environment is relatively easy.

  • Check your production configuration file (config/environments/production.rb) and make sure that it works for you. I can't tell you what's right here - it depends on your setup. The file is documented, so run through each option and make sure it's set to what you need.
  • Make sure you've run rails assets:precompile before booting your server, and make sure it's part of your deploy process.
  • Check your communities table. The community that you want to serve from a public web address will need it's host field updated - if you're serving from test.example.com:3000 then that's what the communities.host value should be.[1]

  1. If you try to access your community and get the error saying "No Community record found for Host="test.example.com", you've set the field wrong - it should be exactly what that Host= value is. ↩︎

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »