mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
fix new installation errors
This commit is contained in:
parent
10fc962da6
commit
0487a82db6
2 changed files with 4 additions and 3 deletions
|
@ -45,7 +45,7 @@ services:
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:14.0-alpine
|
image: postgres:13.4-alpine
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_PASSWORD=postgres
|
- POSTGRES_PASSWORD=postgres
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -17,8 +17,9 @@ background() {
|
||||||
# Always install assets
|
# Always install assets
|
||||||
(
|
(
|
||||||
cd /srv/philomena/assets
|
cd /srv/philomena/assets
|
||||||
# workaround for #31
|
npm install
|
||||||
npm install || (chown -R root:root node_modules && npm install)
|
# why is javascript so terrible
|
||||||
|
chown -R $(id -un):$(id -gn) node_modules
|
||||||
)
|
)
|
||||||
|
|
||||||
# Always install mix dependencies
|
# Always install mix dependencies
|
||||||
|
|
Loading…
Reference in a new issue