The application is live at http://demoarchive.appspot.com/.
Go ahead and clone this repo your to machine
git clone https://github.com/pinarkaymaz6/demo-archive.git
Running locally is not a mandatory step, but I highly recommend it. It's easier to save and view your changes, since deployment to cloud takes a few minutes.
- Create a virtual environment and install dependencies
cd demo-archive/archive python3 -m venv FILENAME source FILENAME/bin/activate pip install -r requirements.txt
- Start the app
python3 main.py
- Now visit http://127.0.0.1:8080/ to view your application.
First you should create a project on Google Cloud dashboard if you don't have one. You can follow the instructions here to create a project.
-
Install Google Cloud SDK. Here is the guide for macOS. Make sure you initialize the setups by running
gcloud init
. -
Deploy application with your project ID
gcloud app deploy app.yaml --project PROJECTID
-
Your application should be ready shortly on
PROJECTID.appspot.com
.