mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 05:37:59 +01:00
fix #31, excl. elasticsearch config
This commit is contained in:
parent
e4e20033e7
commit
9202d59ce9
1 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Always install assets
|
||||
(cd /srv/philomena/assets && npm install)
|
||||
(
|
||||
cd /srv/philomena/assets
|
||||
# workaround for #31
|
||||
npm install || (chown -R root:root node_modules && npm install)
|
||||
)
|
||||
|
||||
# Always install mix dependencies
|
||||
(cd /srv/philomena && mix deps.get)
|
||||
|
@ -21,4 +25,4 @@ echo
|
|||
createdb -h postgres -U postgres philomena_dev && mix ecto.setup_dev
|
||||
|
||||
# Run the application
|
||||
mix phx.server
|
||||
mix phx.server
|
||||
|
|
Loading…
Reference in a new issue