Skip to content

Commit

Permalink
actually do the config.default.yaml this time
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoud committed Sep 30, 2016
1 parent dd2b6e6 commit cb97ebb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ then create a new virtualenv with something like `mkvirtualenv
montage`. Then, with the virtualenv activated:

1. Install dependencies: `pip install -r requirements.txt`
2. Fill out the configuration, using `config.default.yaml` as a base
2. Create `config.dev.yaml`, using `config.default.yaml` as a base, or
get a working version from maintainers
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`

Expand Down
13 changes: 13 additions & 0 deletions config.default.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
db_echo: True
api_log_path: montage_api.log
db_url: "sqlite:///tmp_montage.db"

cookie_secret: ReplaceThisWithSomethingSomewhatSecret
superuser: Slaporte

dev_local_cookie_value: "contact maintainers for details"
dev_remote_cookie_value: "contact maintainers for details"
oauth_secret_token: "see note below"
oauth_consumer_token: "visit https://meta.wikimedia.org/wiki/Special:OAuthConsumerRegistration/propose to get valid OAuth tokens for local development, or contact the maintainers"
...

0 comments on commit cb97ebb

Please sign in to comment.