Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hvitis/geodjango_rest_template
Boilerplate with basic endpoints in GeoDjango. REST implementation of most needed listing geolocation functionalities. Using leaflet VueJS for explanation purposes
https://github.com/hvitis/geodjango_rest_template
geodjango geolocation-api leaflet-map restful-api
Last synced: 1 day ago
JSON representation
Boilerplate with basic endpoints in GeoDjango. REST implementation of most needed listing geolocation functionalities. Using leaflet VueJS for explanation purposes
- Host: GitHub
- URL: https://github.com/hvitis/geodjango_rest_template
- Owner: hvitis
- Created: 2020-04-25T23:07:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T04:04:38.000Z (almost 2 years ago)
- Last Synced: 2023-03-09T02:27:11.142Z (over 1 year ago)
- Topics: geodjango, geolocation-api, leaflet-map, restful-api
- Language: Python
- Homepage: https://hvitis.dev/geolocation-tutorial-geodjango-demo-and-gis-postgis-data-to-build-app-using-rest-api
- Size: 34.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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 gunicornsudo 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.