3. Setup the database. We have to make migrations and import the data into the database.
4. Setup the database. We have to make migrations and import the data into the database.
```bash
```bash
$ python manage.py makemigrations
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py migrate
```
```
4. To run the server on our machine and make our system as host. Find out the ipaddress of the system
5. To run the server on our machine and make our system as host. Find out the ipaddress of the system
```bash
```bash
$ ifconfig
$ ifconfig
```
```
Add the ipaddress address to ```ALLOWED_HOSTS``` in ```config/settings.py``` file. You may also need to add ```127.0.0.1```, ```localhost``` to that list.
Add the ipaddress address to ```ALLOWED_HOSTS``` in ```config/settings.py``` file. You may also need to add ```127.0.0.1```, ```localhost``` to that list.