Skip to content

Commit

Permalink
readme formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ceari committed Sep 12, 2013
1 parent 0953a84 commit 0e1bb33
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ further information.
Configuration
-------------

Copy whyattend/config.py to local_config.py and adjust the settings.
Put your clan's logo into whyattend/static/img/clanicons.
Replace whyattend/static/img/header.jpg with an image of your choice.
* Copy `whyattend/config.py` to `local_config.py` and adjust the settings.
* Put your clan's logo into `whyattend/static/img/clanicons`.
* Replace `whyattend/static/img/header.jpg` with an image of your choice.

After deployment, the initial database schema should be generated by
opening /createdb?API_KEY=<configured API KEY> in a browser.
opening `/createdb?API_KEY=<configured API KEY>` in a browser.

The clan member roles can be synchronized with Wargaming's server by
opening /sync-players/<clanid>/?API_KEY=<configured API KEY>
opening `/sync-players/<clanid>/?API_KEY=<configured API KEY>`

config.API_KEY should be set to something random and secret, so only you
`config.API_KEY` should be set to something random and secret, so only you
can trigger the synchronization.

This can be automated by a cron script, e.g:
Expand All @@ -50,7 +50,7 @@ Example 1:
apache2 + mod_wsgi

Follow the instructions from example 2 to install a virtual Python environment
and use the provided wsgi_app.wsgi file as example.
and use the provided `wsgi_app.wsgi` file as example.

The apache2 virtual host configuration could look like this:

Expand Down

0 comments on commit 0e1bb33

Please sign in to comment.