The Better Play static page generator
git clone https://github.com/lhache/tbp-cms.git
hugo server -D
It requires you have a terminal opened and are in the folder where the code is store, ‘workspace’ for exemple.
git clone https://github.com/lhache/tbp-cms.git
cd tbp-cms
git fetch
will ask the internet of cloudz what’s the latest version of the appgit pull
will bring that code to your computergit status
to see all the files that have been modifiedgit add .
will select all the files you need to commit or git add file.xx
to add a specific onegit commit -m "write what you did here"
will commit all the files previously selectedgit push
will push all the committed files to the repository on the cloudz of the internetzIf you’re not sure or if something strange prevents you from pushing code, ask a pro.
The project is automatically deployed on http://tbp-cms.netlify.com/
Info remember you’ll have to push your code every time you make a change y ou want to deploy
static/images
{{< img src="/images/xxx.png" alt="description of the pic" >}}
static/images/lol/hello.jpg
, then you would write {{< img src="/images/lol/hello.jpg" alt="description of the pic" >}}
hugo new landing/xxxxxxxx.md
hugo new company/xxxxxxxx.md
title: “Test”
date: 2017-09-14T18:35:24+02:00
draft: false