Commit 28799d66 authored by Feddal Nordine's avatar Feddal Nordine

doc/improve-docker-doc: change the visual display for skipping steps message

parent 9b857aa5
Pipeline #154743 passed with stages
in 3 minutes and 22 seconds
...@@ -54,8 +54,8 @@ testing server <https://app.vidjil.org>: ...@@ -54,8 +54,8 @@ testing server <https://app.vidjil.org>:
- Virtual Machine: 8 virtual CPUs - Virtual Machine: 8 virtual CPUs
- 6 workers - 6 workers
- RAM: 28GB - RAM: 28GB
We create less workers for executing Vidjil-algo than there are (virtual) CPU availabe, We create less workers for executing Vidjil-algo than there are (virtual) CPU availabe,
keeping always one CPU core dedicated to the web server, even when the workers run at full capacity. keeping always one CPU core dedicated to the web server, even when the workers run at full capacity.
Running other RepSeq programs through the Vidjil server may require additional CPU and RAM. Running other RepSeq programs through the Vidjil server may require additional CPU and RAM.
...@@ -143,14 +143,14 @@ From image `vidjil/server` ...@@ -143,14 +143,14 @@ From image `vidjil/server`
## Network usage and SSL certificates ## Network usage and SSL certificates
(If you are simply using Vidjil from your computer for testing purposes you can skip the next two steps). #####If you are simply using Vidjil from your computer for testing purposes you can skip the next two steps.
- Change the hostname in the nginx configuration `vidjil-client/conf/nginx_web2py`, - Step 1 : Change the hostname in the nginx configuration `vidjil-client/conf/nginx_web2py`,
replacing `$hostname` with your FQDN. replacing `$hostname` with your FQDN.
- Edit the `vidjil-client/conf/conf.js` - Step 2 : Edit the `vidjil-client/conf/conf.js`
change all 'localhost' to the FQDN change all 'localhost' to the FQDN
(You will need the following step whether you are using locally or not). #####You will need the following step whether you are using locally or not.
Vidjil uses HTTPS by default, and will therefore require SSL certificates. Vidjil uses HTTPS by default, and will therefore require SSL certificates.
You can achieve this with the following steps: You can achieve this with the following steps:
...@@ -178,7 +178,7 @@ If you would prefer to use the vidjil over HTTP (not recommended outside of test ...@@ -178,7 +178,7 @@ If you would prefer to use the vidjil over HTTP (not recommended outside of test
use the provided configuration files in `docker/vidjil-server/conf` and `docker/vidjil-client/conf`. You will find several files use the provided configuration files in `docker/vidjil-server/conf` and `docker/vidjil-client/conf`. You will find several files
that contain "http" in their name. Simply replace the existing config files with their HTTP counter-part (for safety reasons, don't that contain "http" in their name. Simply replace the existing config files with their HTTP counter-part (for safety reasons, don't
forget to make a backup of any file you replace.) forget to make a backup of any file you replace.)
## First configuration and first launch ## First configuration and first launch
- Set the SSL certificates (see above) - Set the SSL certificates (see above)
...@@ -214,7 +214,7 @@ It will be also the web2py admin password. ...@@ -214,7 +214,7 @@ It will be also the web2py admin password.
## Further configuration ## Further configuration
...@@ -296,7 +296,7 @@ you can look into: ...@@ -296,7 +296,7 @@ you can look into:
mysql -u root -p mysql -u root -p
SET PASSWORD FOR vidjil = PASSWORD('<new password>'); SET PASSWORD FOR vidjil = PASSWORD('<new password>');
``` ```
- Ensure the database was created correctly. This should have been done automatically, - Ensure the database was created correctly. This should have been done automatically,
but just in case, you can check the console output, or check the database: but just in case, you can check the console output, or check the database:
```sh ```sh
...@@ -687,16 +687,16 @@ correctly. ...@@ -687,16 +687,16 @@ correctly.
Now we need to configure the database connection parameters: Now we need to configure the database connection parameters:
- create a file called conf.js in /home/www-data/vidjil/browser/js containing: - create a file called conf.js in /home/www-data/vidjil/browser/js containing:
``` example ``` example
var config = { var config = {
/*cgi*/ /*cgi*/
"cgi_address" : "default", "cgi_address" : "default",
/*database */ /*database */
"use_database" : true, "use_database" : true,
"db_address" : "default", "db_address" : "default",
"debug_mode" : false "debug_mode" : false
} }
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment