-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to deploy locally following the development guide #9
Comments
Hey, try to use this
in the db config. You may be interested in this fork https://github.com/peter-hank/webuddy. Is has more stuff included and runs on Rails 6. |
Thank you, I confirm that editing the config/database.yml file with the above mentioned configuration the application starts without issues. However, I'm not able to get the verification mail for a new account, is it normal for a local deploy? |
Do you have a local smtp server running? See here https://github.com/berkmancenter/threads/blob/master/config/environments/development.rb#L59. If you don't try https://mailcatcher.me/. |
I tried again to install threads following the steps above, but this time, when I try to create a user, I've got the following error:
|
I've tried to deploy the application using the development instructions for docker in the README.md, however, I was not able to successfully run it. It seems like the application is unable to connect to the database.
Environment
Steps to reproduce
git clone https://github.com/berkmancenter/threads.git && cd threads
cp .env.example .env
cp config/database.yml.sample config/database.yml
, this was not listed in the deployment guide, but without it the containers won't runcp config/cable.yml.sample config/cable.yml
, this was not listed in the deployment guide, but without it the containers won't rundocker-compose up
docker-compose exec website sh
bundle exec rake db:create
this last command gives the following error:The text was updated successfully, but these errors were encountered: