A basic gallery website written to be used on the Google App Engine.
- Uses Flickr_Api to display images.
- Uses Flask as web framework
- Uses Google app engine and Google datastore as platform
- Uses Google Accounts for authentication
#main.py The file main.py handles the main website.
Importing new data is done by accessing www.andreavandenberg.nl/import
-
Install the App Engine Python SDK. See the README file for directions. You'll need python 2.7 and pip 1.4 or later installed too.
-
Clone this repo with
git clone https://github.com/GateCrash3r/andreavandenberg.nl.git
-
Install dependencies in the project's lib directory. Note: App Engine can only import libraries from inside your project directory.
cd appengine-python-flask-skeleton pip install -r requirements.txt -t lib update the file settings.py to your own settings
-
Run this project locally from the command line:
dev_appserver.py .
Visit the application http://localhost:8080
See the development server documentation for options when running dev_appserver.
To deploy the application:
-
Use the Admin Console to create a project/app id. (App id and project id are identical)
-
appcfg.py -A <your-project-id> --oauth2 update .
-
Congratulations! Your application is now live at your-app-id.appspot.com
See LICENSE
Chris van den Berg