This repo contains all the content and configuration needed to setup your own instance of veda-config.
The veda-config
relies on the veda-ui
submodule.
Use --recursive
flag when cloning veda-config
, or initialize the submodules with:
git submodule update --init --recursive
To set up the development environment for this website, you'll need to install the following on your system:
If you use nvm
, activate the desired Node version:
Install Node + package manager this repo depends on.
nvm install
npm -g install yarn
Then, setup the project by running the command below.
./.veda/setup
Configuration is done using dot.env files.
These files are used to simplify the configuration of the app and should not contain sensitive information.
Copy the .env.local-sample
to .env.local
to add your configuration variables.
cp .env.local-sample .env.local
Get your Mapbox access token from Mapbox Dashboard. Put the key in .env.local
file.
To preview the app use:
yarn serve
This will start the app and make it available at http://localhost:9000.
If the application is not working properly or erroring when it starts, try cleaning the cache with yarn clean
.
If the errors persist open an issue with the problem description.