Files
geovisio-website/docs/02_Setup.md
Adrien Pavie c5f9a6da06 Update docs
2023-06-14 15:21:31 +00:00

1.1 KiB

Setup

System requirements

You need to have Nodejs installed Node version : >=18.13.0

You need to have Npm installed

You can use npm or yarn as package manager

Install

The website can be installed locally by retrieving this repository and installing dependencies:

# Retrieve source code
git clone https://gitlab.com/geovisio/website.git
cd website/

# Install dependencies
npm install

Build for production

Before building, you need to define a bit of settings. At least, you have to create a .env file and edit its content.

cp env.example .env

More details about settings can be found in docs here.

Then, building for production can be done with these commands:

npm run build
PORT=3000 npm run start

The website is now available at localhost:3000.

Next steps

You can check out the available settings for your instance.