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

Post History

#1: Initial revision by user avatar ArtOfCode‭ · 2023-01-18T15:54:47Z (about 1 year ago)
Assuming you've followed the steps in the [guide to setting up development](https://collab.codidact.org/posts/280451/280452#answer-280452), 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.