Skip to content

bitbrain-za/challenge-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIT license dependency status Continuous integration

Challenge Backend

Provides a backend interface to the DB. Just has one endpoint to fetch the scores for a challenge

See api.json for more info. (api.yaml might also be up to date)

Deploying

Install Redis

move (host) target/release/challenge_server to (target) /usr/bin/challenge_server move (host) sysvinit/challenge_server to (target) /etc/init.d/challenge_server

service start challenge_server

install mysql and redis

Configuring

Use -S to turn on TLS

Use -p <PORT> to set the port.

In the sysv script, you can set the port and security in the command

logs

Logs can then be viewed here:

/var/log/challenge_server.log
/var/log/challenge_server.err

About

Backend for the challenge playground

Resources

License

Stars

Watchers

Forks

Packages

No packages published