Kaggle-like machine learning competition platform
This README is still work in progress
https://demo-ml-competition-platform.herokuapp.com/
ID | [email protected] |
---|---|
Password | ^dvTT0JgIPS4V@RWW$Kw |
Clone codes of API Server to calculate metrics for competition
git clone https://github.com/AillisInc/ml_competition_platform.git
Deploy API server according to the following steps
cp .env.sample .env
vim .env
Copy the following text to .env file.
METRICS_API_ENDPOINT=http://host.docker.internal:8000/
METRICS_API_AUTH_KEY=secret_key # In production environment, a strong key is recommended.
METRICS_API_AUTH_KEY
METRICS_API_AUTH_KEY
is used for authorization with API server to calculate metricsMETRICS_API_AUTH_KEY
value that cannot be easily guessed.METRICS_API_AUTH_KEY
value should be matched to API_KEY_TOKEN
value in API server$ docker-compose run web bundle install
$ docker-compose run web rails db:setup
$ docker-compose up
User.create(email: '[email protected]', password: 'password', name: "admin_user", role: "admin")
User.create(email: '[email protected]', password: 'password', name: "test_user", role: "member")
MIT