Skip to content

raydeal/questionnaire

Repository files navigation

questionnaire

Simple questionnaire

Installation and running with Docker

Before starting, install Compose. To get the containers running, build the images and then start the services:

docker-compose up --build -d

Now you in your browser the servis is available as URL: localhost:8000/

To stop docker service:

docker-compose stop web

To start docker service again:

docker-compose start web

To stop service and/or to remove image:

docker-compose down

To run test:

docker-compose run web python manage.py test

Installation and running without Docker

Requirements:

  • Python 3

Run commands:

pip install -r requirements_dev.txt
mkdir db
python manage.py migrate
python manage.py loaddata --app core questions.json

To create super user run:

python manage.py createsuperuser --username super-mario --email [email protected]

Run server:

python manage.py runserver --insecure

Now you in your browser the servis is available as URL: localhost:8000/

To run tests:

python manage.py test tests

About

Simple questionnaire

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published