This repostitory contains the source code of the website geovistory.org.
The website is developed with Next.js using react components from geovistory design system.
Clone the repo:
git clone https://github.com/geovistory/website
Install dependencies
cd website
npm install
Run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
# build image with tag `geovistory-website`
docker build -t geovistory-website .
# run container of `geovistory-website`
# -d in background
# -p exposing port 3000
# --name named `geov-web``
docker run -d -p 3000:3000 --name geov-web geovistory-website
# list running containers
docker ps
# should print output similar to:
752abeb48c41 geovistory-website "docker-entrypoint.s…" 4 seconds ago Up 3 seconds 0.0.0.0:3000->3000/tcp geov-web
# open localhost:3000
Official docker images are automatically created and published here.