-
Notifications
You must be signed in to change notification settings - Fork 17
3. Run your project for the first time
Katie House edited this page Sep 15, 2020
·
4 revisions
To see if your project is set up correctly, run:
python3 manage.py runserver
Then on your browser (Chrome, Safari, Firefox), go to: http://localhost:8000/ . Your screen should look like the following:
To stop your project, hold control
+ C
.
Running your server for the first time generated a db.sqlite3
file. This is a default SQLite database for your app.
- Install Django
- Create Django Project
- Run your project for the first time
- Create a Django App
- Add app to INSTALLED_APPS
- Add the landing page to the app
- Make the landing page fancy with Bootstrap
- Create a machine learning model with the Iris dataset
- Create Django form to take in user input and send back model prediction
- Update model prediction with text and an image
- Define the SQLite Database Schema
- Use admin mode to see edit database
- Save Prediction data to SQLite database