Difference between revisions of "Template talk:Installation/Common"

From diaspora* project wiki
Jump to: navigation, search
Line 8: Line 8:
  
 
::: 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 ;) [[User:Eins78|Eins78]] ([[User talk:Eins78|talk]]) 21:57, 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 ;) [[User:Eins78|Eins78]] ([[User talk:Eins78|talk]]) 21:57, 20 February 2014 (UTC)
 +
 +
:::: I'm open to any suggestions to make it more obvious :)--[[User:MrZYX|MrZYX]] ([[User talk:MrZYX|talk]]) 22:22, 20 February 2014 (UTC)

Revision as of 22:22, 20 February 2014

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)