Multi user blog, created as part of my Full Stack Nanodegree Program. This blog has many features as user registration, email confirmation, user can makes CRUD of post and comments also, and can give likes to a post.
- Python 3
- Virtualenv
optional
- A Google Cloud Account
- A SendGrid Account or any other Email Service
Once you have all the requirements setup:
Note: Before seting up the environment, create a new project in the google console.
- Clone this repository.
- Run
git clone https://github.com/oldani/nanodegree-blog.git
in the console
- If using
virtualenv
- Create an env by running
virtualenv -p python3 env
- In the project repository
- Run
pip install requirements.txt
- Edit the
env.example
file, replacing all the env vars example values with real ones. Once done rename the file to.env
.
- Once everything setup run
python manage.py runserver
- Go to
http://localhost:5000/
.
This project have been develop using the Google App Engine Flexible Environment, so for running this in production you will need a account with billing activated, due to these environments does not have free tier.
For deploying this you will need the Cloud SDK
Note: Before running this command, make sure
you set all the env vars
values you want in PROD
in the .env
file, due to gcloud will push it.
Once install just run gclound app deploy
.