Skip to content

Commit 6b27d21

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

File tree

1 file changed

+9
-18
lines changed

1 file changed

+9
-18
lines changed

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

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,11 @@ It provides:
6060
* A fail2ban service
6161
* An Admin user to manage everything
6262
* A set of scripts to handle different tasks such as:
63-
* Notebooks deployment
64-
* Jupyterhub compliancy
65-
* Users compliancy
66-
* Security Management
63+
64+
* Notebooks deployment
65+
* Jupyterhub compliancy
66+
* Users compliancy
67+
* Security Management
6768

6869
#### Backend server preparation:
6970

@@ -93,15 +94,11 @@ install$ git clone https://github.com/Workshops-on-Demand/wod-backend.git
9394
install$ cd wod-backend/
9495
```
9596

96-
97-
9897
* Examine default installation parameters and adapt when necessary accordingly. Files are self-documented.
9998
* Look at the following files within ansible/group_vars directory.
10099

101100
* `all.yml` file
102101

103-
104-
105102
```shellsession
106103
vi all.yml
107104
---
@@ -175,7 +172,7 @@ ANSIBLEPRIVDIR: "{{ WODPRIVDIR }}/ansible"
175172

176173
``
177174

178-
* `wod-backend` file
175+
* `wod-backend` file
179176

180177

181178

@@ -238,7 +235,7 @@ DATAVISUPORT2-WKSHP-DataVisu101: 22131
238235

239236
* `wod-system` file
240237

241-
\
238+
242239

243240
```shellsession
244241
vi wod-system
@@ -272,14 +269,8 @@ WODFEAPIUSER: moderator
272269
WODFEAPIPWD: MotDePasseCompliquéAussi125!!!##
273270
```
274271

275-
276-
277272
See the example below for a backend server.
278273

279-
```shellsession
280-
vi
281-
```
282-
283274
### Backend installation process:
284275

285276
[](https://github.com/Workshops-on-Demand/wod-backend/blob/main/INSTALL.md#for-private-based-workshops-on-demand-private-backend--private-workshops-or-if-you-need-to-modify-defaults)Once you are done with the files, you can can proceed with the installation itself. The installation is based on a common install script [install.sh ](https://github.com/Workshops-on-Demand/wod-backend/blob/main/install/install.sh)that allows the deployment of the different parts of the solution. It can be called as follows:
@@ -337,8 +328,8 @@ The principle remains similar, with a few differences explained below.
337328
* 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).
338329
* Define the WODPRIVREPO and WODPRIVBRANCH variables as follows:
339330

340-
* WODPRIVBRANCH="main"
341-
* WODPRIVREPO="[email protected]:Account/Private-Repo.git wod-private"
331+
* `WODPRIVBRANCH="main" `
332+
* `WODPRIVREPO="[email protected]:Account/Private-Repo.git wod-private"`
342333

343334
**Note:** When using a token
344335

0 commit comments

Comments
 (0)