Django web app - TechnionYP5779/SimuMole GitHub Wiki

Abstract

Django is a high-level Python Web framework. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.
source

Prerequisites

  • python 3

Getting Django

Django can be installed by opening a command prompt and running
pip install Django

Running the app

To run the app on Linux/MacOS open the command propmpt in the root folder of the Django project and run the command
python manage.py runserver
to run the app on Windows open the command propmpt in the root folder of the Django project and run the command
py manage.py runserver

this message should appear:

Watching for file changes with StatReloader
Performing system checks...

System check identified no issues (0 silenced).

You have 17 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.

April 01, 2019 - 17:55:35
Django version 2.2, using settings 'SimuMole.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

as stated in Django documentation we ignore the unapplied migration warning.
After this massage appear you can go to http://127.0.0.1:8000/ (also http://localhost:8000/) where you will see the Django website project.

Additional information

more tutorials, guides and documentation can be found here

⚠️ **GitHub.com Fallback** ⚠️