WEEK 1

This Week I tried to plan my final project Idea and create my Website. I finally did that! defining idea of my final project

PRINCIPLES AND PRACTICES

Assignment:

- Principles and Practices :

Plan and sketch a potential final project.

- Project Management

How I made my Website

I create my Website with Mkdocs and markdown that is a fabulous tool for editing my website very simply. I use brackets as text editor.

1. Creating a MKDOCS PROJECT

To create a Mkdocs project you need to do some previous things

*** Install python new version ***

Step 1 : this is link to Download python

Step 2 : Run the installer after Downloading

you should see that :

When installing python do not forget to check the box Add python.exe to Path before installation as shown in the image above.

step 3 : After the installation of python, we can move to the installation of Mkdocs itself. Open the command prompt of your PC and type the following command line:

pip install mkdocs

Normally if all goes well you should have the following display in your command prompt.

links:

step 3 : Now create a new mkdocs project with your command prompt to do that type this commands :

    mkdocs new _name of your project_

you created a new mkdocs project Now enter the following command line to launch the mkdocs local server

mkdocs serve

2. ** Using an mkdocs template **

For the design of our website we used the template available at the following link: https://gitlab.fabcloud.org/academany/fabacademy/2022/labs/testlab/students/julian-henk

After downloading the template as a file (.zip), unzip it in the folder of your choice. To be able to modify the template locally you need some prerequisites:

Now the prerequisites have been installed we can launch the site locally. Open your command prompt and type the command cd "location path of your project". then enter the following command line mkdocs serve to launch the mkdocs server locally. you should have the image below copy the url underlined in red and paste it in the browser of your choice.

For the modification of the code of our site we have used the software Brackets. It’s a source code editor with a primary focus on web development.

Element Markdown Syntax
Heading # H1
## H2
### H3
Bold **bold text**
Italic *italicized text*
Blockquote >blockquote
Image ![title](../images/image.jpg)
Link [text](https://www.example.com)
Ordered List 1. First item
2. Second item
3. Third item
Unordered List - First item
- Second item
- Third item
Code code

GIT Tutorial

1. Installation of git on Windows PC

To install git go to https://git-scm.com/downloads and select the Windows option.

2. Clone your gitlab repository

cd "path of the folder created below" 
git init 
git config --global user.name "Your_username"
git config --global user.email "your_email@exemple.com"
ssh-keygen -t rsa -C "your_email"
cat ~/.ssh/id_rsa.pub

git clone <repository path to clone>.  

To get the path(link): open the Git repository to clone > Clone :

3. Upload your repository online

git add index.html to upload file by file (the index.html file)
git add . to upload all the files at once
git commit -m ‘change you did’
git push

links :

https://www.atlassian.com/fr/git/tutorials/setting-up-a-repository

http://pub.fabcloud.io/tutorials/week01_principles_practices_project_management/git_simple.html