|
2 | 2 |
|
3 | 3 |  |
4 | 4 |
|
5 | | -[](https://github.com/fossasia/open-event-server/releases/latest) |
| 5 | +[](https://github.com/fossasia/open-event-server/releases/latest) |
6 | 6 | [](https://travis-ci.org/fossasia/open-event-server) |
| 7 | +[](https://www.circleci.com/gh/fossasia/open-event-server) |
7 | 8 | [](https://www.codacy.com/app/fossasia/open-event-server) |
8 | | -[](https://codecov.io/gh/fossasia/open-event-server) |
| 9 | +[](https://codecov.io/gh/fossasia/open-event-server) |
9 | 10 | [](https://gitter.im/fossasia/open-event-server) |
10 | 11 | [](https://houndci.com) |
11 | 12 | [](https://groups.google.com/forum/#!forum/open-event) |
@@ -66,7 +67,7 @@ Please get familiar with the components of the project in order to be able to co |
66 | 67 | * App server - [uWSGI](https://github.com/unbit/uwsgi) |
67 | 68 | * Web Server - [NGINX](https://www.nginx.com) |
68 | 69 |
|
69 | | -Note that open-event-server **works with Python 3.6** at the moment. |
| 70 | +Note that open-event-server **works with Python 3.7** at the moment. |
70 | 71 |
|
71 | 72 | ### External Service Dependencies |
72 | 73 |
|
@@ -193,6 +194,34 @@ Clone the repo and set up the server according to the steps listed. Make sure yo |
193 | 194 | pip3 install -r requirements/tests.txt |
194 | 195 | ``` |
195 | 196 |
|
| 197 | +#### Enable/Disable modules |
| 198 | + |
| 199 | +- Enable/Disable a specific module |
| 200 | + |
| 201 | +``` |
| 202 | +python manage.py module --name module_name --switch on/off |
| 203 | +``` |
| 204 | + |
| 205 | +**_Example :_** |
| 206 | + |
| 207 | +``` |
| 208 | +python manage.py module --name ticket_include --switch on |
| 209 | +python manage.py module -n ticket_include -s off |
| 210 | +``` |
| 211 | + |
| 212 | +- Enable/Disable all modules |
| 213 | + |
| 214 | +``` |
| 215 | +python manage.py module --name module_name --switch on/off |
| 216 | +``` |
| 217 | + |
| 218 | +**_Example :_** |
| 219 | + |
| 220 | +``` |
| 221 | +python manage.py module --name all --switch on |
| 222 | +python manage.py module -n all -s off |
| 223 | +``` |
| 224 | + |
196 | 225 | #### Running unit tests |
197 | 226 |
|
198 | 227 | * Open Event uses Postgres database for testing. So set `DATABASE_URL` as a postgres database. Here is an example. |
|
0 commit comments