...
Tasks / Procedure
- Go to Terminal or CMD and clone the "Backend Paas Project" . From "paas-training/backend/backend-paas-project/"
- Init a new Git repository in the "backend-paas-project" directory
Code Block git init
- Connect your local Git repository to a remote repository in GitLab.Clone the empty project in a new directory called "backend"
cloneCode Block git
remote add origin https://gitlab.paastraining.magnolia-platform.com/paas-training/backend-paas-project.git
- Create a branch that you will use during the project to deploy. (The branch should have the structure of:
<the first letter of your first name and your surname>
.)- For example: Francisco Gonzalez - Branch name
fgonzalez
Code Block title git push git checkout -b <yourBranchName>
- For example: Francisco Gonzalez - Branch name
- Push the project into your own branch
Code Block title git push git add . git commit -m "Initial commit" git push origin <yourBranchName>
- Use your GitLab Username and the access token.token
- Username:
Code Block title Username for 'https://gitlab.paastraining.magnolia-platform.com': - On the left sidebar, select your avatar - Select your name or username
- Password:
Code Block title Password for 'https://francisco.gonzalez@gitlab.paastraining.magnolia-platform.com' Access token: glpat-pMU6RqqEXzG3U35XDzSw
- Username:
- Use your GitLab Username and the access token.token
- Go to "backend" directory. Use the Magnolia's Maven Archetype to create a new Magnolia Paas Project
...