Giter Site home page Giter Site logo

svetlanam / enabled-city-old Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 924 KB

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

Python 100.00%
angularjs bootstrap django foursquare-api mongodb palo-alto python2 enabled-city

enabled-city-old's Introduction

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:[email protected]: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

enabled-city-old's People

Contributors

svetlanam avatar svetus avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.