Skip to content

vpachkov/oneCC-Explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Site for exploring oneCC (One C compiler) possibilities

User Section

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

Development Section

Requirements

  • go
  • nodejs

Launching Project

Backend

  • 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

Frontend

  • 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
Frontend (after installing requirements)
  • Launch the server and setting env variables
./test-ui.sh

About

Small infrastructure around oneCC project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published