diff --git a/DEV.md b/DEV.md index 93b7b564..9b044313 100644 --- a/DEV.md +++ b/DEV.md @@ -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 diff --git a/run_data_test.py b/_run_data_test.py similarity index 100% rename from run_data_test.py rename to _run_data_test.py diff --git a/_run_server_test.py b/run_server_test.py similarity index 99% rename from _run_server_test.py rename to run_server_test.py index b922ea19..16fe0aca 100644 --- a/_run_server_test.py +++ b/run_server_test.py @@ -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) # --------------- --------