Created
January 4, 2022 01:10
-
-
Save truonglocbinh/db4ff8309eb892739ce2514b085a526d to your computer and use it in GitHub Desktop.
How to deploy manually rails app without capistrano
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gorails.com/deploy/ubuntu/20.04 | |
https://gorails.com/setup/osx/11-big-sur | |
After clone repo just install ruby, nodejs and database | |
bundle exec rails webpacker:install | |
rails assets:precompile RAILS_ENV=production | |
RAILS_ENV=production rails db:migrate | |
https://chienkira.github.io/blog/posts/h%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-c%C3%A0i-%C4%91%E1%BA%B7t-server-rails-puma-nginx/ | |
https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-puma-and-nginx-on-ubuntu-14-04 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment