django-orchestra-test/examples/initial_project.sh

20 lines
798 B
Bash
Raw Normal View History

2021-02-12 13:58:37 +00:00
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_amd64.deb
sudo dpkg -i wkhtmltox_0.12.6-1.buster_amd64.deb
wget https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz
sudo tar zxf geckodriver-v0.24.0-linux64.tar.gz -C /usr/local/bin/
sudo /etc/init.d/postgresql start
sudo su - postgres -c 'psql -U postgres < /home/orchestra/examples/createdb.sql'
git clone https://github.com/ribaguifi/django-orchestra
cd django-orchestra
git checkout dev/github-actions
sudo pip3 install --upgrade pip
sudo pip3 install -r total_requirements.txt
sudo pip3 install -e .
django-admin.py startproject panel --template="orchestra/conf/ribaguifi_template"
cp .env.example panel/.env
2021-02-12 14:08:16 +00:00
python3 panel/manage.py migrate