https://github.com/hacknlove/dotgis
dotGIS React coding challenge
https://github.com/hacknlove/dotgis
Last synced: 17 days ago
JSON representation
dotGIS React coding challenge
- Host: GitHub
- URL: https://github.com/hacknlove/dotgis
- Owner: hacknlove
- Created: 2019-06-14T13:36:18.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-05-06T01:39:23.000Z (about 3 years ago)
- Last Synced: 2025-02-26T07:34:22.592Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://dotgis.hacknlove.org
- Size: 1.49 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## demo
https://dotgis.hacknlove.org
## Run with docker
https://hub.docker.com/r/hacknlove/dotgis-challenge
```
docker run --name=dotgis-challenge --restart=always -d -p 5000:80 hacknlove/dotgis-challenge:latest
```
## Default Create React App Scripts
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
* `npm start`
* `npm test`
* `npm run build`
* `npm run eject`
## Custom Scripts
### `npm run build:docker`
Builds a docker image, with the mane and versión from `package.json` and uploads it to the docker hub
You must be logged in docker hub with the apropiate account.
### `npm run serve`
Builds and serves the production environment
### `npm run serve:docker`
Serves the production environment from the last docker image
### traefik
**docker-compose.yml**
```
version: '3.2'
services:
static:
restart: always
image: hacknlove/dotgis-challenge:latest
logging:
driver: json-file
options:
max-size: "200k"
max-file: "10"
expose:
- 80
networks:
- web
labels:
- "traefik.port=80"
- "traefik.enable=true"
- "traefik.frontend.rule=Host:example.com"
- "traefik.docker.network=web"
networks:
web:
external: true
```