Skip to content

Project-Reclass/toynet-react

Repository files navigation

Mattermost

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.

Splash Screen

Get Involved

Getting Started with Development

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.

  1. Sign up for GitPod using GitHub Account.
  2. Click New Workspace and enter: https://github.com/Project-Reclass/toynet-react.
  3. Once project is open, navigate to the TERMINAL tab at the bottom of the IDE.
  4. Alter package.json#L91 to say "proxy": "http://localhost:8080".
  5. Cancel the currently running npm instance by hitting ctrl-c or command-c.
  6. Run export DANGEROUSLY_DISABLE_HOST_CHECK=true.
  7. Run npm run start
  8. Click Open Browser in the popup indicating A service is available on port 3000.
  9. If the popup does not load:
    a. navigate to the PORTS tabs right
    b. click on the Address column for Port 3000
    c. click Open Browser

Getting Started

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

License

See the LICENSE file for mor information.

Follow Us

Contributing

Check out our CONTRIBUTING guide!