- Run
mkdocs new project_name
. - Open that folder by
cd project_name
. - Make a new GitHub repo.
- Copy new Git repo instructions (the first one).
- Run it in the project root folder.
- Run
echo "site/" >> .gitignore
. - Run
gcap 'NEW Project' (
gcap` = Git Commit All Push — My personal workflow alias). - Run
mkdocs serve
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To start pudl | |
npm start | |
# To stop pudl press CTRL (⌃) + C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Project Variables. | |
module.exports = { | |
viewSrc: './views/**/*.pug', | |
viewDst: './', | |
styleSrc: './css/style.scss', | |
styleDst: './', | |
outputStyle: 'compressed', | |
viewWatchFiles: './views/**/*.pug', | |
styleWatchFiles: './css/**/*.scss', | |
browserAutoOpen: false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node -v | |
# Make sure you have Node >= 8 installed. | |
npm -v | |
# Make sure you have npm >= 5.3 installed. |
NewerOlder