https://github.com/neuwcodebox/fire-map-server
Server that helps cope with large fires with collective intelligence.
https://github.com/neuwcodebox/fire-map-server
disaster disaster-evacuation http-server rocket-rs rust-server server
Last synced: 3 months ago
JSON representation
Server that helps cope with large fires with collective intelligence.
- Host: GitHub
- URL: https://github.com/neuwcodebox/fire-map-server
- Owner: neuwcodebox
- License: gpl-3.0
- Created: 2019-04-15T04:29:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-16T03:25:38.000Z (about 4 years ago)
- Last Synced: 2025-06-21T05:06:49.983Z (4 months ago)
- Topics: disaster, disaster-evacuation, http-server, rocket-rs, rust-server, server
- Language: Rust
- Homepage: http://firemaps.neurowhai.cf
- Size: 582 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fire-map-server
Server that helps cope with large fires with collective intelligence.
## DB setup
1. Build `DB.Dockerfile`.
> docker build -t firemap-db -f DB.Dockerfile .
2. Run a container for DB.
> docker run -d -p 5432:5432 --name fmap-main-db -e POSTGRES_PASSWORD=`$your_pwd` firemap-db
3. Set environment variable `DATABASE_URL`.
> export DATABASE_URL=postgresql://postgres:`$your_pwd`@localhost:5432/postgres