Copyright (c) 2022 Croquet Corporation
Please refer to the ./docs/QuickStart.md to get started. Key concepts and the features of Croquet Microverse and development workflow are explained in other documents in the docs directory. The following is the bare minimum steps to take to run Croquet Microverse on your computer:
- Npm. Please refer to the installation page on npmjs.com.
- Git. Please refer to the installation page on git-scm.com.
Npm and git are large software packages and explaining them is not in the scope of this document. We only use their most basic features. So if you don't have those packages on your computer yet, look for the simplest installation method for your platform.
-
Clone or fork the Github repository from https://github.com/croquet/microverse-builder.
git clone https://github.com/croquet/microverse-builder.git
-
Obtain your Croquet API Key from https://croquet.io/keys/.
-
Open a terminal and change the working directory to your new Microverse-Builder folder.
cd microverse-builder
-
Create the apiKey.js file from apiKey.js-example and the API Key above.
cp apiKey.js-example apiKey.js # and edit apiKey.js
-
In the terminal run
npm i
and then
npm start
-
Open browser at
localhost:9684
and enter a new world. -
Copy the URL shown in the browser tab and copy it into a new tab. Also, replace localhost with the IP address (probably something like 192.168.0.123) and open it from another device on the local network.