8000 GitHub - criticalmaps/criticalmaps-api: 🗄️
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Apr 30, 2023. It is now read-only.

criticalmaps/criticalmaps-api

Repository files navigation

Critical Maps API

Build Status Code Climate Test Coverage Dependency Status

Start development session with:

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

Api will be available under:

http://localhost:3000

Debugger will be available at:

http://localhost:8080/?port=5858

phpPgAdmin is at:

http://localhost:8082/phppgadmin/

Migrations

docker build -t criticalmaps-db-migrations -f Dockerfile.migrations . && \
docker run \
-v $(pwd)/migrations/:/migrations/ \
-e DATABASE_URL=postgres://bla:bla@db/criticalmaps \
criticalmaps-db-migrations \
up

docker exec -ti $(docker ps | grep postgres | awk '{ print $1}') /bin/bash

psql -d criticalmaps -U bla

TODO

cors header??

About

🗄️

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0