Skip to content

Commit

Permalink
Update server_config.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-leasure committed Nov 17, 2022
1 parent 55b9f4c commit 287cffe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deploy/server_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
swapon --show
sudo cp /etc/fstab /etc/fstab.back
sudo cp /etc/fstab /etc/fstab.orig
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
sudo sysctl vm.swappiness=1

Expand Down Expand Up @@ -70,6 +70,9 @@ sudo systemctl restart docker
cd ~
git clone http://github.com/OxfordDemSci/lemur

# NOTE: must now copy data to ~/lemur/deploy/postgresql/
# (data_gbd2019_cod.csv, data_gbd2019_lt.csv, data_gbd2019_sdg.csv)

# deploy
cd ~/lemur
docker-compose up -d
Expand Down

0 comments on commit 287cffe

Please sign in to comment.