@@ -22,17 +22,17 @@ further information.
22
22
Configuration
23
23
-------------
24
24
25
- Copy whyattend/config.py to local_config.py and adjust the settings.
26
- Put your clan's logo into whyattend/static/img/clanicons.
27
- Replace whyattend/static/img/header.jpg with an image of your choice.
25
+ * Copy ` whyattend/config.py ` to ` local_config.py ` and adjust the settings.
26
+ * Put your clan's logo into ` whyattend/static/img/clanicons ` .
27
+ * Replace ` whyattend/static/img/header.jpg ` with an image of your choice.
28
28
29
29
After deployment, the initial database schema should be generated by
30
- opening /createdb?API_KEY=<configured API KEY > in a browser.
30
+ opening ` /createdb?API_KEY=<configured API KEY> ` in a browser.
31
31
32
32
The clan member roles can be synchronized with Wargaming's server by
33
- opening /sync-players/<clanid >/?API_KEY=<configured API KEY >
33
+ opening ` /sync-players/<clanid>/?API_KEY=<configured API KEY> `
34
34
35
- config.API_KEY should be set to something random and secret, so only you
35
+ ` config.API_KEY ` should be set to something random and secret, so only you
36
36
can trigger the synchronization.
37
37
38
38
This can be automated by a cron script, e.g:
@@ -50,7 +50,7 @@ Example 1:
50
50
apache2 + mod_wsgi
51
51
52
52
Follow the instructions from example 2 to install a virtual Python environment
53
- and use the provided wsgi_app.wsgi file as example.
53
+ and use the provided ` wsgi_app.wsgi ` file as example.
54
54
55
55
The apache2 virtual host configuration could look like this:
56
56
0 commit comments