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 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
-
To build static files(development) type
gulp dev
-
That's it, Now to connect to dev server at http://127.0.0.1:8888 (for serving frontend)
gulp connect
-
To check for static files change run gulp watch task in new terminal window
gulp watch
If you are interested in contributing to EvalAI, follow your contribution guidelines.