Culture and Health Mapping
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
data
docs
web_app
.gitignore
LICENSE
README.md
a_review_of_research.pdf
azure-pipelines.yml
web_dev_server_django.cmd
web_dev_server_gae.cmd
web_production_deploy.cmd

README.md

Project: Heathmynd - Culture Mapping

Build Status

The museum data (including name and location) is gathered from Wikipedia. Data is held in a Google Fusion table or KML file and displayed on a Google Map on web pages hosted on the Google App Engine. GAE supports Python 3 but you still have to have Python 2 to run the GAE locally so there doesn't seem to be a lot of point in upgrading.

Data Gathering Application

Uses Python 2.7 like the GAE.

Django web_app

WARNING: If you are coming from ASP.NET or RoR, in Django views are what you call controllers and templates are what you call views.

Creating the web_app

For reference of what was done, not what you need to do.

django-admin startproject web_app
cd web_app
python manage.py startapp cheltenham
python manage.py startapp cornwall
python manage.py startapp southwest

Check the django version

To remind yourself what documentation you should be reading.

manage.py --version
    1.11.16

Install the Requirements

So they are locally available to the Google App Engine. The Google App Engine no longer provides packages support for

pip install --target ./web_app/lib/ --requirement ./web_app/requirements.txt 

Run the dev server

python manage.py runserver 8080

or

web_dev_server_django.cmd

Run Google App Engine

To run on Cloud9 use:

``` python ../google_appengine/dev_appserver.py ./web_app/src/ --enable_host_checking=false ```

To run on Cloud9 with access to the admin interface use:

``` python ../google_appengine/dev_appserver.py ./web_app/src/ --enable_host_checking=false --admin_port=8081 ```

Fusion Tables