XRevent-Creator-React
Abstract
Description
Installation (Developer Toolchain)
Requirements
- Node.js
- npm
- react-unity-webgl
- react-bootstrap
React Unity WebGL
- Download Node.js (LTS) from https://nodejs.org/en/ and install.
- The Installer will also install npm (Node Package Manager) that helps to install packages.
- Clone the repository to your local disk. Use the "git clone --recurse-submodules" to get all submodules instantly. (3.5. If you already cloned the project and forgot --recurse-submodules, you can combine the git submodule init and git submodule update steps by running git submodule update --init. To also initialize, fetch and checkout any nested submodules, you can use the foolproof git submodule update --init --recursive.)
- Switch to the project root and type 'npm i' to initialize the project. This will download the missing modules used in the project. For example it will download 'react-unity-webgl' and 'react-bootstrap' as those are modules used by the project.
- The project should be good to go. Copy the current Unity WebGL build to the public folder and try 'npm start'.
Building the Application
- 'git clone ' to clone (copy) the remote repo to a local
- Switch to the new directory that has been created.
- 'git checkout develop' to switch to developer branch. The main branch is always empty.
- 'npm i' to initialize the project. This will copy node modules to the folder (dependencies).
- To start the project locally use 'npm start'