Skip to content

Commit

Permalink
a bit of restructuring and updating setup steps
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoud committed Sep 30, 2016
1 parent 7f1c8c4 commit dd2b6e6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
11 changes: 9 additions & 2 deletions DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@ then create a new virtualenv with something like `mkvirtualenv
montage`. Then, with the virtualenv activated:

1. Install dependencies: `pip install -r requirements.txt`
2. Some initial data can be loaded by running `python run_data_test.py`
3. The application can be started with `python montage/server.py`
2. Fill out the configuration, using `config.default.yaml` as a base
3. Create the schema in your configured database using `python tools/create_schema.py`
4. The application can be started with `python montage/server.py`

Feel free to run `run_server_test.py` while the application server is
running to generate some test data. By default, the application server
runs on localhost port 5000, visit
[http://localhost:5000/meta](http://localhost:5000/meta) to see a list
of valid URL patterns and other details.

Almost all endpoints (except for OAuth and `/static/`) return JSON as
long as the proper Accept header is set (done by most libraries) or
Expand Down
File renamed without changes.
3 changes: 0 additions & 3 deletions _run_server_test.py → run_server_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,6 @@ def full_run(url_base, remote):
resp = fetch_json(url_base + '/juror/round/%s/tasks/submit' % round_id,
data, su_to='Jimbo Wales')

import pdb;pdb.set_trace()


# Admin endpoints (part 2)
# --------------- --------

Expand Down

0 comments on commit dd2b6e6

Please sign in to comment.