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
Create C:\php7\
Add "C:\php7\" to environnement variable
Right click "computer"
"Properties"
"advanced parameter" (on the left part)
then "Environement Variable" (button at the bottom)
In the "System Variable" part, find "Path"
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 ";"
then Add "C:\php7\;"
CLick "OK" then "OK"
Add "C:\php7\" to environnement variable
* Right click "computer"
* "Properties"
* "Advanced parameters" (on the left part)
* then "Environement Variable" (button at the bottom)
* In the "System Variable" part, find "Path"
* 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 ";"
* then Add "C:\php7\;"
* CLick "OK" then "OK"
Enable gd and curl
Open C:/php7/php.ini
Ctrl+F to search for "curl"
You should find ";extension=curl"
Remove the ; to enable curl extension
You should find ";extension=gd2" 2 lines below
Remove the ; to enable gd extension
* Open C:/php7/php.ini
* Ctrl+F to search for "curl"
* You should find ";extension=curl"
* Remove the ; to enable curl extension
* You should find ";extension=gd2" 2 lines below
* Remove the ; to enable gd extension
Install git
TODO
* TODO
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"
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
Download https://getcomposer.org/composer.phar and copy it in m3p2-html-generator/bin
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
Shift+Right click where you want to put m3p2 to "Open Command line here"
use the command "php bin/grav install"
Add the courses from the other repository, if you did not use `git clone --recursive`:
* go inside m3p2-html-generator folder
* 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
......
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