Skip to content

Latest commit

 

History

History
67 lines (39 loc) · 1.22 KB

README.rst

File metadata and controls

67 lines (39 loc) · 1.22 KB

Kuulemma

https://circleci.com/gh/fastmonkeys/kuulemma.png?style=badge

Requirements

Development

Follow the instructions below to set up the development environment.

  1. Create a new virtualenv:

    $ mkvirtualenv --python=$(which python3.4) kuulemma
    
  2. Install Python dependencies:

    $ pip install -r requirements-dev.txt
    
  3. Create databases for development and testing:

    $ createdb kuulemma
    $ createdb kuulemma_test
    
  4. Create database tables:

    $ alembic upgrade head
    
  5. Install npm dependencies:

    $ npm install
    
  6. Install bower dependencies:

    $ bower install
    
  7. Finally, start the development server:

    $ gulp
    

Testing

  • Running Python backend tests:

    $ py.test
    
  • Running Javascript unit tests:

    $ gulp test-karma
    
  • Running Javascript unit tests automatically when files change:

    $ gulp tdd
    
  • Running Javascript end-to-end tests:

    $ gulp test-protractor