Skip to content

Commit

Permalink
update files instead of force replace
Browse files Browse the repository at this point in the history
 to keep migrations
  • Loading branch information
BenediktMKuehne committed Nov 17, 2023
1 parent e467200 commit e57d020
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions run-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,7 @@ systemctl enable embark.service
systemctl start embark.service

# copy django server
if [[ -d /var/www/embark ]]; then
rm -Rf /var/www/embark
fi
cp -R ./embark/ /var/www/embark/
rsync -r -u --progress --chown=www-embark:sudo ./embark/ /var/www/embark/

# config apache
# add all modules we want (mod_ssl mod_auth_basic etc)
Expand Down

0 comments on commit e57d020

Please sign in to comment.