Skip to content

pintheworld/pintheworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pin the World

How to get the frontend up and running

  1. Make sure you have npm installed
  2. cd into js-src/
  3. Run npm install (this might take a while the first time)
  4. Run npm run dev-build (this will build the js files into /python-src/webapp and keep it up to date )
  5. Start up the backend and navigate to the local GAE server instance

How to get the backend up and running

  1. make sure you have postman, python 2.7, pip and the app engine python dev kit installed (https://cloud.google.com/appengine/docs/python/download - WARNING: you have to click "Optionally, you can also download the original App Engine SDK for Python.")
  2. open a terminal window and go the python-src directory
  3. install dependencies by running pip install -r requirements.txt -t lib
  4. start local development server dev_appserver.py .
  5. import postman collections from ./doc/postman/ into postman and set up a url environment variable (should probably be http://localhost:8080)
  6. run the "Pin the World - Cities" collection to create some cities
  7. run the "Pin the World - Test All" collection (all tests should succeed)
  8. open a browser and navigate to the local GAE server to open the frontend (http://localhost:8080)

Files that were modified by the team

In SourceB/javascript:

webpack.dev.js - 2 lines were modified, 10% in this file
vendor.js - 2 lines were modified, 22% in this file
webpack.common.js - 10 lines were modified, 18% in this file
webpack.test.js - 5 lines were modified, 14% in this file
main.js - 4 lines were modified, 44% in this file

Source: https://angular.io/docs/ts/latest/guide/webpack.html (Angular version ~2.1.0, webpack version: ^1.13.0)

In SourceB/misc:

package.json - 11 lines modified, 17% in this file
app.yaml - 7 lines were added to default file from https://github.com/GoogleCloudPlatform/python-docs-samples

In SourceC/python:

appengine_config.py - source: https://stackoverflow.com/questions/4863557/ and https://github.com/gae-init/gae-init/pull/527

In SourceC/misc:

index.yaml - autogenerated by GAE python SDK

Source C Files

  • see package.json for all other sourceC files and specific versions of used npm packages
  • flask library version used (installed via pip requirements.txt) is 0.11.1, flask-restfull 0.3.5
  • files in the sourceC/javascript files are from https://angular.io/docs/ts/latest/guide/webpack.html (Angular version ~2.1.0, webpack version: ^1.13.0)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published