Skip to content
Codecast C learning platform (formerly fioi-recorder).
JavaScript CSS Other
Branch: master
Clone or download
Sebastien Carlier
Sebastien Carlier use persistent-c 11.3.0
Latest commit b629031 Oct 15, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets stepper: update play button Apr 2, 2018
backend platform setting cleanup Sep 1, 2018
frontend subtitles: persistent options #124 Oct 4, 2018
wrappers add arduino mode w/ wrapper May 19, 2017
.gitignore initial import Mar 29, 2016 add support for offline use Aug 1, 2018
config.json.template update README Nov 27, 2017
fioi.sfd stepper glyphs May 18, 2016
oauth2_schema.sql update README Nov 27, 2017
package.json initial import Mar 29, 2016
webpack.config.js webpack: re-enable source maps in dev env Aug 6, 2018
yarn.lock update yarn.lock Aug 2, 2018

Try it

The most recent production version can be used here.

The development version can be tried here. This version can break compatibility with past production releases, that is, there is no expectation that recordings made on the development version will remain readable.

Quick start

Build c-to-json and copy the executable at the root of this project.

Copy config.json.template to config.json and edit it.

If not using oauth2, remove keys "database", "session" and "auth" and fill in settings in "configs" and "tokens".

If using oauth2, fill in settings in "database", "session" and "auth", and remove keys "configs" and "tokens". Use oauth2_schema.sql, and add rows in user_configs where value is a json object with keys "s3AccessKeyId", "s3SecretAccessKey", "s3Region", "s3Bucket", and "uploadPath". The row with user_id 0 is used for guest settings.

Start with these commands:

npm install
npm run build
npm start

For development "npm run build" is not needed as webpack is configured to watch the source files:

NODE_ENV=development npm start

Build for offline use

rm -rf build
BUILD=offline NODE_ENV=production npm run build
zip -r build assets
You can’t perform that action at this time.