Skip to content

Commit 6952b8f

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

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

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

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ In order to setup the backend server, you will need:
7979

8080
**Note**: In order to support 100 concurrent users, you need:
8181

82-
* 2 cpus or more machine
83-
* 128 GB of RAM
84-
* 500 GB of storage
82+
* 2 cpus or more machine
83+
* 128 GB of RAM
84+
* 500 GB of storage
8585

8686
We are currently using an HPE ProLiant DL360 Gen10 server on our different production sites.
8787

@@ -97,7 +97,7 @@ install$ cd wod-backend/
9797
* Examine default installation parameters and adapt when necessary accordingly. Files are self-documented.
9898
* Look at the following files within ansible/group_vars directory.
9999

100-
* `all.yml` file
100+
* `all.yml` file
101101

102102
```shellsession
103103
vi all.yml
@@ -170,11 +170,7 @@ SCRIPTPRIVDIR: "{{ WODPRIVDIR }}/scripts"
170170
ANSIBLEPRIVDIR: "{{ WODPRIVDIR }}/ansible"
171171
```
172172

173-
``
174-
175-
* `wod-backend` file
176-
177-
173+
* `wod-backend` file
178174

179175
```shellsession
180176
vi wod-backend
@@ -231,11 +227,7 @@ DATAVISUPORT1-WKSHP-DataVisu101: 22101
231227
DATAVISUPORT2-WKSHP-DataVisu101: 22131
232228
```
233229

234-
``
235-
236-
* `wod-system` file
237-
238-
230+
* `wod-system` file
239231

240232
```shellsession
241233
vi wod-system
@@ -285,22 +277,19 @@ See the example below for a backend server.
285277
* Installs minimal required (`ansible, git, jq, openssh server, npm`)
286278
* Creates an admin user as defined upper (default is `wodadmin`) with sudo rights
287279
* Calls the `install-system-common.sh` script that performs the following tasks:
288-
289280
* Cleanup
290281
* Github repos cloning (leveraging install.repo file) : public Backend and public Private repos
291282
* Create ssh keys for wodadmin
292283
* Creates GROUPNAME variables
293284
* Creates Ansible inventory files
294285
* Calls the `install_system.sh` script with the type (backend, frontend, etc..) that performs the following tasks:
295-
296286
* Install the necessary stack based on selected type
297287
* Create a `wod.sh` script in `wod-backend` directory to be used by all other scripts
298288
* Source the `wod.sh` file
299289
* Setup Ansible-galaxies (`community.general` and `posix`)
300290
* Setup Ansible and call the playbook `install_<type>.yml` followed by the `ansible\_check\_<type>.yml`
301291

302292
At the end of the installation process:
303-
304293
* you will have a JupyterHub server running on port 8000
305294
* You will get a new `wodadmin` user (Default admin)
306295
* You will get a set of 20 students (Default value)
@@ -336,7 +325,6 @@ The principle remains similar, with a few differences explained below.
336325
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:
337326

338327
* Edit the `install.priv` file located in `install` directory of WoD-backend:
339-
340328
* Create line before variable declaration: ``token=`cat $EXEPATH/token` ``
341329
* Use the token in the url WODPRIVREPO="git clone https://user:[email protected]/Account/wod-private.git wod-private"
342330

0 commit comments

Comments
 (0)