- Install pipenv https://docs.pipenv.org/
- Install mongodb
brew update && brew install mongodb
- Start mongodb by running
mongod
in terminal - Run
pipenv install
to install dependences from Pipfile.lock - Activate the virtual environment with
pipenv shell
- Navigate to
django_starter/website
- Run
python manage.py makemigrations && python manage.py migrate
to create the schema in the database. - Run
python manage.py createsuperuser
to create an admin account to access the database. - Start the django server
python manage.py runserver
- Navigate to
http://localhost:8000/admin/
and create Irises. Sample 6.9, 3.2, 5.7, 2.3 - Go to
http://localhost:8000/data/
and click on the hyperlink to see the predicted class.
sandy4321 / data_open_2018 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from apetri/data_open_2018
Shared repo for 2018 Citadel Data Open