Skip to content

codalab/chahub

Repository files navigation

ChaHub

Under construction!

Installation locally

  1. git clone [email protected]:codalab/chahub.git
  2. cd chahub
  3. Make a virtual environment and source into it
  4. pip install -r requirements.dev.txt
  5. npm install -g npm-watch riot stylus
  6. brew install elasticsearch (defaults should work)

Running it locally

elasticsearch in a different terminal tab to start running elasticsearch before running the server. On Mac you can brew install elasticsearch.

python manage.py runserver to start django which will automatically start npm-watch to compile riot (javascript components) and stylus (css preprocessor)

Heroku installation

NOTE: Todo!

Add this buildpack:

https://github.com/heroku/heroku-buildpack-pgbouncer

Set these ENV vars:

WHITENOISE_ROOT=

Production settings

# This environment variable passes arguments to gunicorn, tweak worker count here
export GUNICORN_CMD_ARGS="--workers=10"

To setup ElasticSearch data directory:

sudo chown 1000:1000 var/data/elasticsearch/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published