You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Creates an admin user as defined upper (default is `wodadmin`) with sudo rights
317
315
* Calls the `install-system-common.sh` script that performs the following tasks:
318
-
319
316
* Cleanup
320
-
321
317
* Github repos cloning (leveraging install.repo file) : public Backend and public Private repos
322
-
323
318
* Create ssh keys for wodadmin
324
-
325
319
* Creates GROUPNAME variables
326
-
327
320
* Creates Ansible inventory files
328
321
329
322
* Calls the `install_system.sh` script with the type (backend, frontend, etc..) that performs the following tasks:
330
-
331
323
* Install the necessary stack based on selected type
332
324
* Create a `wod.sh` script in `wod-backend` directory to be used by all other scripts
333
325
* Source the `wod.sh` file
334
326
* Setup Ansible-galaxies (`community.general` and `posix`)
335
327
* Setup Ansible and call the playbook `install_<type>.yml` followed by the `ansible\_check\_<type>.yml`
336
328
337
329
At the end of the installation process:
338
-
339
330
* you will have a JupyterHub server running on port 8000
340
331
* You will get a new `wodadmin` user (Default admin)
341
332
* You will get a set of 20 students (Default value)
@@ -368,25 +359,21 @@ install$ cd $HOME/wod-private/ansible/group_vars
368
359
* Commit and push changes to your repo.
369
360
* 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).
370
361
371
-
```
362
+
372
363
* Define the WODPRIVREPO and WODPRIVBRANCH variables as follows:
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:
382
371
383
372
* Edit the `install.priv` file located in `install` directory of WoD-backend:
384
373
385
-
```
386
374
* Create line before variable declaration: ``token=`cat $EXEPATH/token` ``
387
375
388
376
* Use the token in the url WODPRIVREPO="git clone https://user:[email protected]/Account/wod-private.git wod-private"
389
-
```
390
377
391
378
You are now ready to perform the installation again to support a private repository.
0 commit comments