An online diary app where you can write whatever you wish and everything gets saved on the cloud.
To learn the Django framework
- CKEditor: Advanced text editor
- jsDeliver: Open-source CDN that uses CKEditor folder of this repo as a CDN to host CKEditor.
- python-decouple: Pyhton library that seperates sensitive information and credentials from your code.
- social-auth-app-django: Provides interface for social login
- Font Awesome
Download and run the project
- Clone the repo
git clone https://github.com/thecoducer/daily-bytes.git
cd daily-bytes
- Create a virtual environment in Python:
virtualenv -p python3 env
- Activate env:
source env/bin/activate
- Install the requirements:
pip3 install -r requirements.txt
Create a .env
file at the root of the directory and paste the below snippet in it and add your own credentials wherever required.
SECRET_KEY = 3s@8*%rpq13e03-5-_(9ow^*9f&c5rar(5wr%vhs=_k16@(r3i
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = <get one from Google developers console>
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = <get one from Google developers console>
SOCIAL_AUTH_KEY = <get one from Google developers console>
SOCIAL_AUTH_SECRET = <get one from Google developers console>
EMAIL_HOST_USER = <your email id>
EMAIL_HOST_PASSWORD = <your regular/app-specific password>
DEBUG = True
TIME_ZONE = <your time zone>
ALLOWED_HOSTS = localhost, .herokuapp.com, https://dailybytes.herokuapp.com, https://dailybytes.herokuapp.com/, http://dailybytes.herokuapp.com, http://dailybytes.herokuapp.com/
- Create the database:
python manage.py migrate
- Create admin account:
python manage.py createsuperuser
- Run the app:
python manage.py runserver
Check this list
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. Go ahead and fork the project.
Distributed under the MIT License. See LICENSE
for more information.
Twitter: @thecoducer or Email: [email protected]