GithubHelp home page GithubHelp logo

isabella232 / osm-teams Goto Github PK

View Code? Open in Web Editor NEW

This project forked from developmentseed/osm-teams

0.0 0.0 0.0 6.29 MB

Teams for OpenStreetMap! Check the beta ๐Ÿ‘‰

Home Page: https://mapping.team

License: MIT License

JavaScript 98.42% Dockerfile 0.06% Shell 1.52%

osm-teams's Introduction

osm-teams ๐Ÿค

Check the beta ๐Ÿ‘‰ https://mapping.team

Development

Install requirements:

Visit your OpenStreetMap settings page and register an OAuth1 Client App:

OSM Client App

Create an .env file by copying .env.sample and replacing the values as needed. OSM_CONSUMER_KEY and OSM_CONSUMER_SECRET are values available at the OAuth app page on openstreetmap.org. The .env file should contain:

```bash
OSM_CONSUMER_KEY=<osm-teams-app>
OSM_CONSUMER_SECRET=<osm-teams-app-secret>
DSN=postgres://postgres@dev-db/osm-teams?sslmode=disable
```

Start Hydra and PostgreSQL with Docker:

docker-compose -f compose.dev.yml up --build

On a separate terminal, create the first-party "manage" app:

docker-compose exec hydra hydra clients create --endpoint http://localhost:4445 \
  --id manage \
  --secret manage-secret \
  --response-types code,id_token \
  --grant-types refresh_token,authorization_code \
  --scope openid,offline,clients \
  --callbacks http://localhost:8989/login/accept

Install Node.js the required version (see .nvmrc file):

nvm i

Install Node.js modules:

yarn

Migrate dev-db database:

yarn migrate

Start development server:

yarn dev

โœจ You can now login to the app at http://localhost:8989

Acknowledgments

osm-teams's People

Contributors

dependabot[bot] avatar jvntf avatar kamicut avatar lanesgood avatar sethvincent avatar vgeorge 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.