- Make sure that you have Node.js v18.12.0 ,npm v8 and yarn 1.22.19 or above installed.
- Clone this repo using
git clone https://github.com/nikitaromanenko99/remote-worker-websocket.git <YOUR_PROJECT_NAME>
- Move to the appropriate directory:
cd <YOUR_PROJECT_NAME>
. - Run
yarn
in order to install dependencies and clean the git repo.
At this point you can runyarn start
to see the test app athttp://localhost:3000
.
- First, install docker.
- Run "docker compose build", if you don't use Docker-Desktop, the command would be "docker-compose build".
- Run "docker compose up", if you don't use Docker-Desktop, the command would be "docker-compose up".
- Open your browser and go to http://localhost:3000.
Now you're ready to rumble!
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.