Skip to content
An online diary app built with Django
HTML CSS Python JavaScript PHP
Branch: master
Clone or download
Latest commit ce28608 Sep 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ckeditor update Sep 12, 2019
diary_app update Sep 13, 2019
diary_proj update Sep 12, 2019
screenshots
.gitignore update Sep 8, 2019
LICENSE Create LICENSE Sep 8, 2019
Procfile
README.md Update README.md Sep 12, 2019
_config.yml Set theme jekyll-theme-cayman Sep 10, 2019
manage.py initial commit Aug 29, 2019
requirements.txt update Sep 4, 2019

README.md

Daily Bytes

An online diary app where you can write whatever you wish and everything gets saved on the cloud.

Objective

To learn the Django framework

Built with

Plug-ins / Add-ons used

Hosted on

Screenshots

Landing page

Sign in

Home

Add entry

App is live at

dailybytes.herokuapp.com

Getting Started

To get a local copy up and running follow the steps below.

Installation

  1. Clone the repo git clone https://github.com/thecoducer/daily-bytes.git
  2. cd daily-bytes
  3. Create a virtual environment in Python: virtualenv -p python3 env
  4. Activate env: source env/bin/activate
  5. Install the requirements: pip3 install -r requirements.txt

Set up the environment variables

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/

Running the app

  • Create the database: python manage.py migrate
  • Create admin account: python manage.py createsuperuser
  • Run the app: python manage.py runserver

Improvements

Check this list

Contributing

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.

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Twitter: @thecoducer or Email: mayukh5741@gmail.com

You can’t perform that action at this time.