EvalAI is an open source web application that helps researchers, students and data-scientists to create, collaborate and participate in various AI challenges organized round the globe.
Setting up EvalAI on your local machine is really easy. Follow this guide to setup your development machine.
-
Install git, postgresql version >= 9.4 and virtualenv, in your computer, if you don't have it already. If you are having trouble with postgresql on Windows check this link postgresqlhelp.
-
Get the source code on your machine via git.
git clone https://github.com/Cloud-CV/EvalAI.git evalai
-
Create a python virtual environment and install python dependencies.
cd evalai virtualenv venv source venv/bin/activate # run this command everytime before working on project pip install -r requirements/dev.txt
-
Rename
settings/dev.sample.py
asdev.py
and change credential insettings/dev.py
cp settings/dev.sample.py settings/dev.py
Use your linux system username and password for fields
USER
andPASSWORD
indev.py
file. -
Create an empty postgres database and run database migration.
createdb evalai python manage.py migrate --settings=settings.dev
-
That's it. Now you can run development server at http://127.0.0.1:8000 (for serving backend)
python manage.py runserver --settings=settings.dev
-
Open a new terminal window with node(6.9.2) and ruby(gem) install on your machine and type
npm install bower install
-
Now to connect to dev server at http://127.0.0.1:8888 (for serving frontend)
gulp dev:runserver
-
That's it, Open web browser and hit the url
http://127.0.0.1:8888
.
If you are interested in contributing to EvalAI, follow your contribution guidelines.