| | |
| | | cd ~/do500-workspace |
| | | ``` |
| | | ```bash |
| | | git clone https://github.com/rht-labs/todolist-fe.git |
| | | git clone https://github.com/RedHatTraining/rht-labs-todolist-fe todolist-fe |
| | | ``` |
| | | ```bash |
| | | cd todolist-fe |
| | |
| | | |
| | | 2. Open up Gitlab and login. Create a new project (internal) in GitLab called `todolist-fe` to host your clone of the project and copy its remote address. ![new-gitlab-proj](../images/exercise2/new-gitlab-proj.png) |
| | | |
| | | 3. In your local clone of the `todolist-fe`, remove the origin and add the GitLab origin by replacing `<YOUR_GIT_LAB_PROJECT>`. Push your app to GitLab |
| | | 3. In your local clone of the `todolist-fe`, remove the origin and add the GitLab origin by replacing `<YOUR_GIT_LAB_PROJECT>`. Push your app to GitLab. (As before, we will bypass SSL key verification in this repo since we are using self-signed certificates on the GitLab sever.) |
| | | ```bash |
| | | git config http.sslVerify false |
| | | git remote set-url origin <YOUR_GIT_LAB_PROJECT> |
| | | # verify the origin has been updated |
| | | git remote -v |
| | |
| | | 9. To prepare Nexus to host the binaries created by the frontend and backend builds we need to run a prepare-nexus script. Before we do this we need to export some variables and change `<YOUR_NAME>` accordingly in the below commands. |
| | | |
| | | <p class="tip" > |
| | | NOTE: Microsoft Windows users, run the following commands in the *do500-toolbox* container. Linux and MacOS users should skip this tep and continue from the *oc login* step. |
| | | NOTE: Microsoft Windows users, run the following commands in the *do500-toolbox* container. Linux and MacOS users should skip this step and continue from the *oc login* step. |
| | | </p> |
| | | |
| | | ```bash |
| | | docker run -it -v C:/do500-workspace:/home/tool-box/workarea:Z quay.io/jrigsbee/do500-toolbox /bin/bash |
| | | docker run -it -v C:/do500-workspace:/home/tool-box/workarea:Z quay.io/redhat/do500-toolbox /bin/bash |
| | | ``` |
| | | |
| | | ```bash |
| | |
| | | cd ~/do500-workspace |
| | | ``` |
| | | ```bash |
| | | git clone https://github.com/rht-labs/todolist-api.git |
| | | git clone https://github.com/RedHatTraining/rht-labs-todolist-api todolist-api |
| | | ``` |
| | | ```bash |
| | | cd todolist-api |
| | |
| | | |
| | | 2. On GitLab; create a new project (internal) called `todolist-api` to host your clone of the project and copy its remote address as you did for the previous repositories. |
| | | |
| | | 3. In your local clone of the `todolist-api`, remove the origin and add the GitLab origin by replacing `<YOUR_GIT_LAB_PROJECT>`. Push your app to GitLab |
| | | 3. In your local clone of the `todolist-api`, remove the origin and add the GitLab origin by replacing `<YOUR_GIT_LAB_PROJECT>`. Push your app to GitLab. (As before, we will bypass SSL key verification in this repo since we are using self-signed certificates on the GitLab sever.) |
| | | ```bash |
| | | git config http.sslVerify false |
| | | git remote set-url origin <YOUR_GIT_LAB_PROJECT> |
| | | ``` |
| | | ```bash |