Check out your new networking buddy https://www.toynet.projectreclass.org
Project Reclass is a multi-disciplinary nonprofit organization that teaches technical skills to incarcerated veterans. Learn more at projectreclass.org.
The easiest way to get started with development is with GitPod, however, you can also get started on your local development machine if you have nodejs installed.
- Sign up for GitPod using GitHub Account.
- Click New Workspace and enter: https://github.com/Project-Reclass/toynet-react.
- Once project is open, navigate to the TERMINAL tab at the bottom of the IDE.
- Alter package.json#L91 to say "proxy": "http://localhost:8080".
- Cancel the currently running npm instance by hitting ctrl-c or command-c.
- Run export DANGEROUSLY_DISABLE_HOST_CHECK=true.
- Run
npm run start
- Click Open Browser in the popup indicating A service is available on port 3000.
- If the popup does not load:
a. navigate to thePORTS
tabs right
b. click on the Address column for Port 3000
c. click Open Browser
The easiest way to get ToyNet up and running is by using the docker-compose. This requires Docker, Docker Compose, and git to be installed. Our docker-compose.yml
file will start each service necessary for using ToyNet on your machine in a production setup.
To get started, first download the docker-compose.yml
file.
For Linux with wget
wget https://raw.githubusercontent.com/Project-Reclass/toynet-react/master/docker-compose.yml
For Windows with Powershell
wget https://raw.githubusercontent.com/Project-Reclass/toynet-react/master/docker-compose.yml -Outfile docker-compose.yml
# or
Invoke-WebRequest https://raw.githubusercontent.com/Project-Reclass/toynet-react/master/docker-compose.yml -Outfile docker-compose.yml
Then to start each ToyNet
docker-compose up --build -d # use -d to run in the background
See the LICENSE file for mor information.
Check out our CONTRIBUTING guide!