stack of technology
ci/cd
env
python manage.py check
python manage.py makemigrations
python manage.py migrate
./manage.py createsuperuser
./manage.py drf_create_token admin
CREATE USER noww_user WITH PASSWORD 'beta.noww';
- install docker-compose
- execute
docker-compose up -d
to start - execute
docker-compose down
to stop - if need to rebuild web
docker-compose up -d --no-deps --build web
example for docker usage
create .env file with
DATABASE_URL=postgres://postgres:beta.noww@localhost:5432/postgres