Advertisement
Justman10000

Manage Discourse

Feb 21st, 2024
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.38 KB | None | 0 0
  1. // To install
  2. mkdir /home/discourse
  3. cd /home/discourse
  4.  
  5. git init
  6. git pull https://github.com/discourse/discourse.git
  7.  
  8. yarn
  9. RAILS_ENV=production bundle install
  10.  
  11. RAILS_ENV=production rake db:create
  12. RAILS_ENV=production rake db:migrate
  13.  
  14. RAILS_ENV=production rake assets:precompile
  15.  
  16. RAILS_ENV=production rake admin:create
  17.  
  18. RAILS_ENV=production rails server -b 0.0.0.0 -p 7732
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement