Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M3P2 HTML Generator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
12
Issues
12
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
M3P2
M3P2 HTML Generator
Commits
93980b75
Commit
93980b75
authored
May 25, 2019
by
Adrenesis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Windows part of README.md for a better markdown use
parent
2e550c3d
Pipeline
#281
passed with stage
in 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
27 deletions
+40
-27
README.md
README.md
+40
-27
No files found.
README.md
View file @
93980b75
...
...
@@ -57,43 +57,56 @@ Download php 7.xx
Create C:
\p
hp7
\
Add "C:
\p
hp7
\"
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:
\p
hp7
\"
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:
\p
hp7
\;
"
*
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment