Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christianwgd/cal
Calendar app for garbage collection etc. with ical api
https://github.com/christianwgd/cal
Last synced: 2 days ago
JSON representation
Calendar app for garbage collection etc. with ical api
- Host: GitHub
- URL: https://github.com/christianwgd/cal
- Owner: christianwgd
- Created: 2022-01-23T16:44:43.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-31T14:32:13.000Z (21 days ago)
- Last Synced: 2024-12-31T15:27:09.900Z (21 days ago)
- Language: JavaScript
- Size: 8.18 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cal
Calendar app for garbage collection etc. with ical apiAlthough i created this django app to manage the local garbage collection any kind of events can be managed.
# Run
To run the app create a virtual environent and install dependencies from requirements.txt```
pip install -U -r requirements.txt
```Create a localsettings.py in the cal directory right next to the settings.py file. It should include a
new generated secret key in the "SECRET_KEY setting , the "ALLOWED_HOSTS", "DEBUG" and "DATABASE" setting.You can copy from the following template:
```
import os
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'your-new-generated-secret-key'# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = TrueALLOWED_HOSTS = []
# Database
# https://docs.djangoproject.com/en/3.0/ref/settings/#databasesDATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'cal.db'),
}
}
```Create the database schemas with
```
python manage.py migrate
```Start the development server with
```
python manage.py runserver
```