Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1.02 KB

README.md

File metadata and controls

24 lines (15 loc) · 1.02 KB

AshaIV: My Portfolio Website

This is Asha Ivey's portfolio website with details about her and the projects she has worked on.

Development Workflow

To test the website locally, you would need credentials for a service account with Google Cloud Datastore. You would need to set the credentials in the terminal, where "KEY_PATH" is the location of the credentials json file:

export GOOGLE_APPLICATION_CREDENTIALS="KEY_PATH"

You also need to make sure that Flask knows where your app code is. You need to specify the file name of the flask app:

export FLASK_APP=main

Redeploying App

To deploy/redeploy the flask app, follow the steps below in your terminal, at the location of your app.

  1. Login to Google Cloud. It will redirect you to a browser page where you can login with Google. Use this command:

gcloud auth login

  1. If you need to change the selected project, using the following with the correct project name:

gcloud config set project "PROJECT NAME"

  1. Deploy the app using the following:

gcloud app deploy