2. Project management¶
This week I worked on defining my final project idea and started to getting used to the documentation process.
Install program¶
1) Install python
because all the program i need will requier this program
2) install git git bash
other wise you can not use GIT
and i have also use this tutorial to be able to use git
Now i will explained you how to have your ssh key¶
1:The SSHkey to be able to do stuff with GIT
you have to do like this –>
Here are some command i use on Git¶
-
git add .
-
git commit -am’type your text here’
-
git push origin master
And some command i used for configure Git¶
- gitconfig
now it is time to install mkdocs¶
you have to follow this Mckdocs tutorial to install Mkdocs
Add theme to mkdocs like this¶
and modify the file requirement.txt
I also have to do a extra .css to modify my page
found this css here
And now my site will become like This
Imagemagick¶
Using imagemagick to reduce the quality, the size and the weight.
with this commands –> in cmd
-
mogrify -format jpeg *.PNG
-
mogrify -quality 50% -resize 1000 *.jpeg
I can also crop my images. As an example, if I want to make all my images in the folder 300x300:
-
mogrify . -resize 300x300^^ -gravity center -extent 300x300 .
-
magick mogrify -resize 500x500^^ -gravity center -extent 500x500 *.jpg