This is an interactive map website. You can add/edit/delete locations on a map from the admin panel.
Built with starlette, jinja2 and sqlite3.
-
Create a virtual environment:
python3 -m venv .venv
-
Activate the virtual environment:
source .venv/bin/activate # unix / osx .venv\Scripts\activate # windows
-
Install the required packages:
pip3 install -r requirements.txt
-
Create a
.envfile in the root directory with copied contents from.env.exampleand set your own secret key. -
Run the application:
python3 main.py # or directly with uvicorn uvicorn main:app --reload -
In a separate terminal, run the database seed script to set up the initial SQLite database:
python3 scripts/seed.py
-
Open your web browser and navigate to
http://127.0.0.1:8000/registerto create a new admin account.
odyssey_v1.0.0.mp4
- Map integration (leaflet & openstreetmap)
- User authentication
- Admin panel
- UI
- CRUD
- Create a new location
- View a list of all locations
- Edit a location
- Delete a location by its
id - Config: functional
allow_registrationtoggle
- Blog CMS
- Gallery CMS
- Gallery integration
- Blog integration
- Improvements
- Reset location boundaries from edit form
- CSS variables for customizable themes
- Docker setup
- CD with automated tests