Commit 93980b75 authored by Adrenesis's avatar Adrenesis

Update Windows part of README.md for a better markdown use

parent 2e550c3d
Pipeline #281 passed with stage
in 42 seconds
...@@ -57,43 +57,56 @@ Download php 7.xx ...@@ -57,43 +57,56 @@ Download php 7.xx
Create C:\php7\ Create C:\php7\
Add "C:\php7\" to environnement variable Add "C:\php7\" to environnement variable
* Right click "computer"
Right click "computer" * "Properties"
"Properties" * "Advanced parameters" (on the left part)
"advanced parameter" (on the left part) * then "Environement Variable" (button at the bottom)
then "Environement Variable" (button at the bottom) * In the "System Variable" part, find "Path"
In the "System Variable" part, find "Path" * Click on it the "Edit"
Click on it the "Edit" * go the end of the second field (Value of variable), which should be ended by ";", if it's not the case, add ";"
go the end of the second field (Value of variable), which should be ended by ";", if it's not the case, add ";" * then Add "C:\php7\;"
then Add "C:\php7\;" * CLick "OK" then "OK"
CLick "OK" then "OK"
Enable gd and curl Enable gd and curl
* Open C:/php7/php.ini
Open C:/php7/php.ini * Ctrl+F to search for "curl"
Ctrl+F to search for "curl" * You should find ";extension=curl"
You should find ";extension=curl" * Remove the ; to enable curl extension
Remove the ; to enable curl extension * You should find ";extension=gd2" 2 lines below
You should find ";extension=gd2" 2 lines below * Remove the ; to enable gd extension
Remove the ; to enable gd extension
Install git Install git
* TODO
TODO
Clone your project Clone your project
* Shift+Right click where you want to put m3p2 to "Open Command line here"
* use the command:
git clone --recursive https://m3p2.ljbac.com/m3p2/grav-website.git m3p2-html-generator
Shift+Right click where you want to put m3p2 to "Open Command line here" Download https://getcomposer.org/composer.phar and copy it in m3p2-html-generator/bin
use the command: "git clone --recursive https://m3p2.ljbac.com/m3p2/grav-website.git m3p2-html-generator"
download https://getcomposer.org/composer.phar and copy it in m3p2-html-generator/bin
Install grav: Install grav:
* go inside m3p2-html-generator folder
* Shift+Right click to "Open Command line here"
* use the command:
php bin/grav install
go inside m3p2-html-generator Add the courses from the other repository, if you did not use `git clone --recursive`:
Shift+Right click where you want to put m3p2 to "Open Command line here" * go inside m3p2-html-generator folder
use the command "php bin/grav install" * Shift+Right click to "Open Command line here"
* Use command:
php bin/clone_courses
Put m3p2 "online"
* go inside m3p2-html-generator folder
* Shift+Right click to "Open Command line here"
* use the command:
php -S localhost:8000 system/router.php
## Mirror the courses to generate a static website ## Mirror the courses to generate a static website
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment