-for windows
Install XAMPP for the database. After installing XAMPP, do the following tasks:
- Before Starting MySQL, click the "Config" button and choose "my.ini".
- Under [mysqld], add the following line, typically at line 45:
skip-grant-tables
- Save the file.
- Start MySQL and in XAMPP.
- Create a database named "ipamsdjango" without quotes
- install python from this site: https://www.python.org/downloads/windows/
- install the package manager pip to install the required modules for this app.
- install required modules from requirements.txt using this command in cmd: pip install -r requirements.txt
In order to run the application in Django, do the following in your command prompt:
python manage.py migrate
python manage.py runserver