Checklist - Kanban
Back end : Django with Django REST Framework
Front end : VueJS with NUXTJS
git clone https://github.com/HE-Arc/ListView.git
cd backend
virtualenv ListView
pip install -r requirements.txt
echo "debug=True" > .env
python manage.py makemigrations
python manage.py migrate
python manage.py runserver localhost:8000
You need a fonctional postgres server and change the database settings in backend/settings.py
.
python manage.py makemigrations
python manage.py migrate
Then you need to configure Nginx and Uwsgi, installation in french.
cd ../ListView_frontend
npm install
npm run dev
nuxt build
Then you need to configure a service to run always NUXTjs. With sv it look like that in /etc/service/nuxtjs/run
:
#!/bin/sh
set -xe
cd /home/poweruser/www/ListView/current/ListView_frontend
exec 2>&1
exec chpst -uwww-data nuxt start
Then make it executable and run it
sudo chmod a+x /etc/service/nuxtjs/run
sudo sv start nuxtjs