/commons-simulator

Giving people the ability to easily simulate their own custom Commons with cadCAD

Primary LanguagePython

Commons Simulator

Usage

sudo apt install nodejs npm
sudo npm install -g yarn
sudo pip3 install -r requirements.txt
./start.sh

Development mode

To run a development mode server to have React hot reloading, do the same as above and in another terminal:

cd app
yarn start

A hot reloading server will pop up a browser tab on http://localhost:3000/

Docker instructions

To run in a docker container

docker build -t commonssim .
docker run -p 5000:5000 commonssim

Go to http://localhost:5000/