Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save truonglocbinh/db4ff8309eb892739ce2514b085a526d to your computer and use it in GitHub Desktop.
Save truonglocbinh/db4ff8309eb892739ce2514b085a526d to your computer and use it in GitHub Desktop.
How to deploy manually rails app without capistrano
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