To be rewritten
Installation of Ghost locally
- Download .zip & decompress
- $npm install
- $npm start
- If problem DatabaseIsNotOk
- $npm install knex-migrator
- $knex-migrator init
- If problem DatabaseIsNotOk
- Go to localhost:2368/ghost to create a new user
- Ready!
Github repository: gh-pages branch not needed
Buster for generating the static site
Steps to create a new post & deploy
* Start ghost server in local env
> $npm start
* Write the new story in markdown
* Generate static site with buster. Ghost should be running when executing this step
> $buster generate
* Change references from localhost:2368 to the URL of the site
> $ find static -name *.html -type f -exec sed -i '' 's#https://raul-hc.github.io#https://raul-hc.github.io#g' {} ;
* Upload changes to github repo & wait for github to deploy the site