Skip to content

hacknlove/dotGIS

Repository files navigation

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. You can learn more in the Create React App documentation.

  • 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

About

dotGIS React coding challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors