Fourth version of Open Labyrinth project.
- "react-digraph" package was injected in Olab.
- Structure of the project was refactored.
Create a .env
file if not done already (can be sourced from .env.sample
)
To kick off development of the project:
npm start
To make production build:
npm build
API_URL
- base api urlPLAYER_PUBLIC_URL
- base player urlPUBLIC_URL
- designer base url. use/designer
if you plan to run the designer in that folder or web server alias.
These variables should go in .env
file. You may pass variables inline or exported in your session, just comment those out from your .env
file.
Clone your repository and Open the folder
git clone <remote_url> <branch> <directory_folder> && cd <directory_folder>
Run downloading of npm modules
npm i
Run the generating of the production build
npm run build
Copy/move the *
from ./build
folder to web hosts directory
cp ./build/* -R /var/www/olab4/
So your application will be available by /var/www/olab4/index.html
In the root placed files release_<N>.patch
and relative to npm git tag