-
Notifications
You must be signed in to change notification settings - Fork 169
Getting Started
⚠️ This wiki is still under construction. Some information might be incomplete. Please do not use this as reference at the moment.
In this section we will setup our app and run it.
You will need Node.js version v12.13.0 or greater installed on your system.
Get the code by cloning this repo using git.
git clone [email protected]:100mslive/100ms-web-v2.git
Once cloned, open a terminal in the project directory, and install dependencies with:
cd 100ms-web-v2
yarn install
Environment variables let you customize the app and set important things like token generation endpoint(see below). We have a example.env as a template to help you get started with.You can add remove stuff to it as per your needs. To begin with, create a new file .env
and copy the values from example.env
cp example.env .env
Get your token endpoint from the Developer section of 100ms' Dashboard
Update the REACT_APP_TOKEN_GENERATION_ENDPOINT
in .env
file with the above token endpoint value (eg. https://prod-in.100ms.live/hmsapi/example.app.100ms.live/
)
Then start the app with:
yarn start
The app now should be running at https://localhost:3000/. You should see a warm 404 Error welcoming you.
💡 | 404 Error |
---|
Please ignore the 404 message, you need to join the right URL of the room. Next section describe how to create a room and form the correct URL
Still having trouble? Reach out to us on Discord