A Boostrap 3, jinja2 and webapp2 based Multi-User blog and Reddit clone created in fulfillment of Project 3 Requirements of Udacity's Full Stack Nano Degree Program.
A live demo is hosted on google cloud here
This project can be viewed by either running the project locally or deploying it to the Google Cloud Platform. Instructions for deployments are below:
Follow the instructions found in this pdf to set up Google Cloud SDK on your machine. Specific versions used at time of development:
- Google Cloud SDK 139.0.1
- app-engine-python 1.9.49
- bq 2.0.24
- bq-nix 2.0.24
- core 2017.01.12
- core-nix 2016.12.09
- gcloud
- gsutil 4.22
- gsutil-nix 4.22
The following instructions assume that you have adde the SDK's python commands to your PATH, so commands like gcloud
and dev_appserver.py
are available. See the Google Cloud SDK setup instructions for more details.
- Checkout the project:
git clone [email protected]:sxhan/multi-user-blog-project.git
- Navigate to project dir:
cd multi-user-blog-project
- Start a local development server:
dev_appserver.py .
Note the dot at the end. - By default, the site should be available at
localhost:8080
in your browser. Alternatively, check the prompt in terminal. It display something similar to:
INFO 2017-01-23 17:05:53,720 admin_server.py:116] Starting admin server at: http://localhost:8000
- Use ctrl-C to stop the development server.
- Checkout the project:
git clone [email protected]:sxhan/multi-user-blog-project.git
- Navigate to project dir:
cd multi-user-blog-project
- Follow instructions in the Google Cloud SDK setup instructions to set up a blank project in the web console, and configure the
gcloud
command use that project. - Run the following to deploy to your pre-configured Google Cloud Project:
gcloud app deploy app.yaml index.yaml
. Answer yes to the prompt.
WARNING: if you had another project previously set up as your gcloud app,
- If successful, the project should be deployed to Google Cloud Project's url, which should be in the format
https://{{project-name}}-{{some-numbers}}.appspot.com/