Skip to content

Commit 8704896

Browse files
committed
Update Blog “open-sourcing-workshops-on-demand-part2-deploying-the-backend”
1 parent 1fad30b commit 8704896

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

content/blog/open-sourcing-workshops-on-demand-part2-deploying-the-backend.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -279,24 +279,24 @@ WODFEAPIPWD: MotDePasseCompliquéAussi125!!!##
279279
* Creates an admin user as defined upper (default is `wodadmin`) with sudo rights
280280
* Calls the `install-system-common.sh` script that performs the following tasks:
281281

282-
* Cleanup
283-
* Github repos cloning (leveraging install.repo file) : public Backend and public Private repos
284-
* Create ssh keys for wodadmin
285-
* Creates GROUPNAME variables
286-
* Creates Ansible inventory files
282+
* Cleanup
283+
* Github repos cloning (leveraging install.repo file) : public Backend and public Private repos
284+
* Create ssh keys for wodadmin
285+
* Creates GROUPNAME variables
286+
* Creates Ansible inventory files
287287
* Calls the `install_system.sh` script with the type (backend, frontend, etc..) that performs the following tasks:
288288

289-
* Install the necessary stack based on selected type
290-
* Create a `wod.sh` script in `wod-backend` directory to be used by all other scripts
291-
* Source the `wod.sh` file
292-
* Setup Ansible-galaxies (`community.general` and `posix`)
293-
* Setup Ansible and call the playbook `install_<type>.yml` followed by the `ansible\_check\_<type>.yml`
289+
* Install the necessary stack based on selected type
290+
* Create a `wod.sh` script in `wod-backend` directory to be used by all other scripts
291+
* Source the `wod.sh` file
292+
* Setup Ansible-galaxies (`community.general` and `posix`)
293+
* Setup Ansible and call the playbook `install_<type>.yml` followed by the `ansible\_check\_<type>.yml`
294294

295295
At the end of the installation process:
296296

297-
* you will have a JupyterHub server running on port 8000
298-
* You will get a new `wodadmin` user (Default admin)
299-
* You will get a set of 20 students (Default value)
297+
* you will have a JupyterHub server running on port 8000
298+
* You will get a new `wodadmin` user (Default admin)
299+
* You will get a set of 20 students (Default value)
300300

301301
All playbooks are self-documented. Please check for details.
302302

@@ -321,17 +321,17 @@ The principle remains similar, with a few differences explained below.
321321
* Create an `install.priv` file located in `install` directory when using a private repo (consider looking at [install.repo](https://github.com/Workshops-on-Demand/wod-backend/blob/main/install/install.repo) file for a better understanding of the variables).
322322
* Define the WODPRIVREPO and WODPRIVBRANCH variables as follows:
323323

324-
* `WODPRIVBRANCH="main"`
325-
* `WODPRIVREPO="[email protected]:Account/Private-Repo.git wod-private"`
324+
* `WODPRIVBRANCH="main"`
325+
* `WODPRIVREPO="[email protected]:Account/Private-Repo.git wod-private"`
326326

327327
**Note:** When using a token
328328

329329
Please refer to the following [url](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) to generate a `token` file in `install` directory of WoD-backend:
330330

331331
* Edit the `install.priv` file located in `install` directory of WoD-backend:
332332

333-
* Create line before variable declaration: ``token=`cat $EXEPATH/token` ``
334-
* Use the token in the url WODPRIVREPO="git clone https://user:[email protected]/Account/wod-private.git wod-private"
333+
* Create line before variable declaration: ``token=`cat $EXEPATH/token` ``
334+
* Use the token in the url WODPRIVREPO="git clone https://user:[email protected]/Account/wod-private.git wod-private"
335335

336336
You are now ready to perform the installation again to support a private repository.
337337

0 commit comments

Comments
 (0)