Site for exploring oneCC (One C compiler) possibilities
You can easily run this project using Docker, just write:
docker-compose build && docker-compose up
Or, if you want to build it manually, see the Development section
- go
- nodejs
- Go to the server source folder
cd server
- Set GOPATH, so go compiler can deal with packages (set an absolute path)
pwd
export GOPATH=/some/global/path/server
- Then, you are ready to run the server
go run src/main.go
- Go to the frontend source folder
cd ui
- Install requirements
npm i
- Launch the server
npm start
- Launch the server with env variables
REACT_APP_GIT_SHA=`git rev-parse --short HEAD` REACT_APP_ONECC_VERSION=`../server/depends/oneCC/oneCC --version` npm start
- Launch the server and setting env variables
./test-ui.sh