Template talk:Installation/Common

From diaspora* project wiki
Revision as of 08:50, 6 August 2014 by Jhass (talk | contribs) (Login shell for screen / tmux: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ENV for script/server and rake assets:precompile

User:Eins78 Those changes shouldn't be necessary. rake assets:precompile automatically runs in production mode (not that it would matter if it runs in development). script/server should read and set RAILS_ENV from config/diaspora.yml, was that not the case for you? Did you maybe forget to uncomment the corresponding line? --MrZYX (talk) 19:59, 20 February 2014 (UTC)

MrZYX I just got confused about which vars needed to be added. You are right, ENV is not needed. DB is needed, though. Eins78 (talk) 21:47, 20 February 2014 (UTC)
DB defaults to mysql if unset, so it's only needed if you choose the Postgres version. I didn't check for some time but was that broken in the previous version? --MrZYX (talk) 21:50, 20 February 2014 (UTC)
I reverted my non-fixes and re-checked the page to make sure: if postgres is selected, the correct command is shown. It failed for me the first time because I pasted it from another browser tab where I hadn't yet checked that selecting the db actually changes the instructions. This is a very nice feature, if not a little hidden ;) Eins78 (talk) 21:57, 20 February 2014 (UTC)
I'm open to any suggestions to make it more obvious :)--MrZYX (talk) 22:22, 20 February 2014 (UTC)

Login shell for screen / tmux

... should not be necessary if you follow the guide and ensure RVM is sourced inside your .bashrc. --MrZYX (talk) 08:50, 6 August 2014 (UTC)