fd
This commit is contained in:
parent
458facae29
commit
7aa5107d51
1 changed files with 16 additions and 2 deletions
16
setup
16
setup
|
@ -1,2 +1,16 @@
|
||||||
source /drama/env
|
cd /drama
|
||||||
|
sudo apt update
|
||||||
|
sudo apt -y upgrade
|
||||||
|
sudo apt -y install postgresql postgresql-contrib
|
||||||
|
sudo apt -y install redis-server
|
||||||
|
cp redis.conf /etc/redis/redis.conf
|
||||||
|
sudo systemctl restart redis.service
|
||||||
|
cp pg_hba.conf /etc/postgresql/12/main/pg_hba.conf
|
||||||
|
sudo service postgresql restart
|
||||||
|
sudo psql -U postgres -f schema.sql postgres
|
||||||
|
sudo psql -U postgres -f seed-db.sql postgres
|
||||||
|
sudo apt -y install python3-pip
|
||||||
|
sudo pip3 install -r requirements.txt
|
||||||
|
sudo apt -y install gunicorn
|
||||||
|
source ./env
|
||||||
env
|
env
|
Loading…
Add table
Add a link
Reference in a new issue