Skip to content

Commit 87e623e

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

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

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

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ In the first [article](https://developer.hpe.com/blog/willing-to-build-up-your-o
1212

1313
The overall infrastructure can run on physical servers or VMs. We usually designate one server for the frontend and a second server for the backend. You could also decide to separate every single component of each side.
1414

15-
![](/img/howto-wod-5.png)
15+
![](/img/wod-blogserie3-archi3.png)
1616

1717
## How to deploy your own backend...
1818

@@ -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

@@ -320,16 +320,18 @@ The principle remains similar, with a few differences explained below.
320320
* Commit and push changes to your repo.
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:
323-
* `WODPRIVBRANCH="main"`
324-
* `WODPRIVREPO="[email protected]:Account/Private-Repo.git wod-private"`
323+
324+
* `WODPRIVBRANCH="main"`
325+
* `WODPRIVREPO="[email protected]:Account/Private-Repo.git wod-private"`
325326

326327
**Note:** When using a token
327328

328329
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:
329330

330331
* Edit the `install.priv` file located in `install` directory of WoD-backend:
331-
* Create line before variable declaration: ``token=`cat $EXEPATH/token` ``
332-
* Use the token in the url WODPRIVREPO="git clone https://user:[email protected]/Account/wod-private.git wod-private"
332+
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"
333335

334336
You are now ready to perform the installation again to support a private repository.
335337

static/img/wod-blogserie3-archi3.png

650 KB
Loading

0 commit comments

Comments
 (0)