mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-18 19:34:23 +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
|
#!/bin/bash
|
||||||
|
|
||||||
# Always install assets
|
# 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
|
# Always install mix dependencies
|
||||||
(cd /srv/philomena && mix deps.get)
|
(cd /srv/philomena && mix deps.get)
|
||||||
|
@ -21,4 +25,4 @@ echo
|
||||||
createdb -h postgres -U postgres philomena_dev && mix ecto.setup_dev
|
createdb -h postgres -U postgres philomena_dev && mix ecto.setup_dev
|
||||||
|
|
||||||
# Run the application
|
# Run the application
|
||||||
mix phx.server
|
mix phx.server
|
||||||
|
|
Loading…
Reference in a new issue