Giter Site home page Giter Site logo

jgp0000 / atlas-subnational-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cid-harvard/atlas-subnational-api

0.0 0.0 1.0 475 KB

Subnational atlas API backend

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.82% Python 97.38% Shell 1.64% Dockerfile 0.17%

atlas-subnational-api's Introduction

Subnational API

The API backend for subnational atlas projects at Harvard CID. It's written in python and flask.

Doc build status Circle CI test build

Documentation

For more information on how to access the API and other details, check the documentation.

Usage

Run make dev to run the dev server. It'll install all the dependencies if it has to.

For production, you're looking for runserver.py. The app variable has what you want. Alternatively, the create_app factory could also be used.

Command What it does
`make dev` Run the flask test server in debug mode.
`make test` run tests with coverage
`make dummy` Generates some dummy data and dumps ids.
`make shell` run an ipython shell where you can play around with objects. The variables `app`, `db` and `models` come preloaded.
`make docs` Builds pretty docs and pops open a browser window
`make clean` Clean up all the generated gunk

Configuration

The /conf/ directory contains configuration files. dev.py is included by default. You pass the CHASSIS_CONFIG="path/to/config.py" environment variable to pick a settings file. It's this way to make sure no one accidentally loads the dev config in production.

atlas-subnational-api's People

Contributors

makmanalp avatar jgp0000 avatar julianlgil avatar sibamohanty avatar dandresfsoto avatar gregshap avatar julian-gil-data avatar gwezerek avatar

Forkers

julianlgil

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.