This is the frontend to run compiler gym on the browser.
In addition to the base requirements for building from
source, Install dependencies for the compiler gym explorer api with the requirements.txt
from the current folder.
This also requires node. We recommend nvm to manage and install node versions.
From the folder frontends/compiler_gym
, Update the env files corresponding to the environment. .env.development
& .env.production
to configure API endpoints.
Build and launch the service on http://localhost:5000/ using:
make www
The port can be changed using the $PORT
environment variable. For example, to
run the server on port 3000:
make www PORT=3000