Skip to content
Snippets Groups Projects
Commit 1c2c6d2f authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Update install doc for windows + add config file for windows

parent 8d2959f6
No related branches found
No related tags found
No related merge requests found
...@@ -32,8 +32,7 @@ Then, you need to restart your webserver. ...@@ -32,8 +32,7 @@ Then, you need to restart your webserver.
Requirements ### Requirements
------------
D-Genies requires python >= 3.5 to run. D-Genies requires python >= 3.5 to run.
...@@ -65,6 +64,18 @@ And if you use a cluster (webserver mode): ...@@ -65,6 +64,18 @@ And if you use a cluster (webserver mode):
drmaa==0.7.* drmaa==0.7.*
In webserver mode, you must install `mysqlclient` python module (will not be installed automatically) if you use mysql as RDBM. In webserver mode, you must install `mysqlclient` python module (will not be installed automatically) if you use mysql as RDBM.
Windows
-------
We provide an installer to install D-Genies. You can download it [here](#).
All requirements are present inside the package, so you don't have to do anything else.
### System requirements
You need Windows 7 or newer, 64 bits architecture.
How to start How to start
...@@ -76,7 +87,7 @@ simultaneously or if you run it on a server, you must run it in webserver mode. ...@@ -76,7 +87,7 @@ simultaneously or if you run it on a server, you must run it in webserver mode.
### Standalone mode ### Standalone mode
Start with the command below: Unix: start with the command below:
dgenies run dgenies run
...@@ -85,6 +96,8 @@ Optional arguments: ...@@ -85,6 +96,8 @@ Optional arguments:
`-p <port>` run in a specified port (default: 5000) `-p <port>` run in a specified port (default: 5000)
`--no-browser` don't start the browser automatically `--no-browser` don't start the browser automatically
Windows: just click on the launcher in the desktop or into the install folder.
### Webserver mode ### Webserver mode
*Note: this mode is only available for Unix systems and will NOT work on MS Windows.* *Note: this mode is only available for Unix systems and will NOT work on MS Windows.*
...@@ -159,7 +172,7 @@ Configuration ...@@ -159,7 +172,7 @@ Configuration
Changing the default configuration is not required for standalone mode, but you can want to custom some parts of the program. Changing the default configuration is not required for standalone mode, but you can want to custom some parts of the program.
Configuration is stored in the `/etc/dgenies/application.properties` file (linux). The file is divided in 8 parts described below. Configuration is stored in the `/etc/dgenies/application.properties` file (linux) or in the `application.properties` file of the install folder (windows). The file is divided in 8 parts described below.
To change this file, please copy it into `application.properties.local` (at the same location) to avoid erase of the file on upgrades. To change this file, please copy it into `application.properties.local` (at the same location) to avoid erase of the file on upgrades.
......
...@@ -27,6 +27,7 @@ class AppConfigReader: ...@@ -27,6 +27,7 @@ class AppConfigReader:
if os.name == "nt": if os.name == "nt":
config_file.insert(1, os.path.join(sys.executable, '..', "application.properties")) config_file.insert(1, os.path.join(sys.executable, '..', "application.properties"))
config_file.insert(1, os.path.join(sys.executable, '..', "application.properties.local"))
for my_config_file in config_file_search: for my_config_file in config_file_search:
if os.path.exists(my_config_file): if os.path.exists(my_config_file):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment