Skip to content

One of the versions of the Enabled City project for Palo Alto challenge.

Notifications You must be signed in to change notification settings

SvetlanaM/enabled-city-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

EnabledCity

With us, you never see the city the same way.

Technologies:

Server:

  • Python (Django framework)
  • MongoDB (MongoEngine)

Client:

  • AngularJS with Marionette
  • Twitter Bootstrap
  • OAuth2.io

External API services:

  • Forsquare API
  • Google API
  • Locu API

Running locally

  1. Install dependencies : (sudo) npm install && pip install -r requirements.txt && bower install
  2. Run the application : python server/server.py
  3. Open a web browser with URL http://localhost:5000

Setting up database

  • Use our demo database (publicly available)

    1. Go to the server/db.py
    2. Change os.environ['MONGOLAB_URI'] to 'mongodb://admin:iicenajv@ds053948.mongolab.com:53948/words'
  • Use your own database

    1. Create your own database and create users collection
    2. Go to the server/db.py
    3. Change os.environ['MONGOLAB_URI'] with your mongodb:// database url

Build the application

  1. Run grunt build command from command line
  2. Go to the server/app.py
  3. Change ../app folders to ../dist (2x)
  4. Run the application : python server/server.py

About

One of the versions of the Enabled City project for Palo Alto challenge.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages