hvitis / geodjango_rest_template

Boilerplate with basic endpoints in GeoDjango. REST implementation of most needed listing geolocation functionalities. Using leaflet VueJS for explanation purposes

Home Page:https://hvitis.dev/geolocation-tutorial-geodjango-demo-and-gis-postgis-data-to-build-app-using-rest-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm run build && python manage.py collectstatic && sudo systemctl daemon-reload && sudo systemctl restart gunicorn && sudo nginx -t && sudo systemctl restart nginx

sudo journalctl -f -e -u gunicorn


sudo tail -F /var/log/nginx/error.log
```

If you update your Django application, you can restart the Gunicorn process to pick up the changes by typing:
```
sudo systemctl restart gunicorn
```
If you change gunicorn systemd service file, reload the daemon and restart the process by typing:
```
sudo systemctl daemon-reload
sudo systemctl restart gunicorn
```
If you change the Nginx server block configuration, test the configuration and then Nginx by typing:
```
sudo nginx -t && sudo systemctl restart nginx
```
These commands are helpful for picking up changes as you adjust your configuration.

About

Boilerplate with basic endpoints in GeoDjango. REST implementation of most needed listing geolocation functionalities. Using leaflet VueJS for explanation purposes

https://hvitis.dev/geolocation-tutorial-geodjango-demo-and-gis-postgis-data-to-build-app-using-rest-api


Languages

Language:Python 100.0%