32 lines
1.3 KiB
Markdown
32 lines
1.3 KiB
Markdown
|
# lostplaces-backend
|
||
|
|
||
|
lostplaces-backend is a Django based Webproject. It once wants to become a
|
||
|
software which allows a group of urban explorers to manage, document and
|
||
|
share the locations of lost places while not exposing too much / any
|
||
|
information to the public.
|
||
|
|
||
|
The software ist currently in early development status, neither scope,
|
||
|
datalayout nor features are finalized yet.
|
||
|
|
||
|
## Dependencies
|
||
|
Right now it depends on the following non-core Python 3 libraries. These can be installed using the package manager of your distribution
|
||
|
or into the venv locally.
|
||
|
|
||
|
* [django](https://www.djangoproject.com/) Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
|
||
|
|
||
|
Currently the the repo is quite a mess, with full Python 3.8 site-packages
|
||
|
in-repo and other sketchy stuff. This will be fixed sometime.
|
||
|
|
||
|
### Setting up a virtual environment for development
|
||
|
|
||
|
source bin/activate (there are several venv definitions for different shells)
|
||
|
source/lostplaces/manage.py migrate
|
||
|
source/lostplaces/manage.py createsuperuser
|
||
|
source/lostplaces/manage.py runserver
|
||
|
|
||
|
Visit: [admin](http://localhost:8000/admin) for administrative backend or
|
||
|
[frontend](http://localhost:8000/)
|
||
|
|
||
|
### Install django system-wide (as user)
|
||
|
pip3 install --user django
|