Skip to content

Nicknjano/Lab_results

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Features:

  • The polls application is extended to a survey where admin can create multiple surveys with multiple questions and choices for each question.

Installation and Launching the application

Requirements:

  • python version > 3.6 installed
  • django version > 3.1.5 installed
python -m pip install django
  • nested-admin > 3.3.3 installed
pip install django-nested-admin 

or

python -m pip install django-nested-admin 

Run

Check for possible schema changes while using the version control as well as for the first run.

Navigate to the project directory (where manage.py is located) and run

python manage.py makemigrations survey

Create schema for models incorporated in survey app. (The sql script returned can be used shared across teams)

python manage.py sqlmigrate survey 0001

Commit all changes to the databases. This also creates necessary tables in the database.

python manage.py migrate

Collect all static assets and add to build/root folder in main application scope

python manage.py collectstatic

Create an admin user for the application

python manage.py createsuperuser

Run the development server

python manage.py runserver

About

HealthIT hackathon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published