Update readme

This commit is contained in:
Anthony Scemama 2020-07-09 19:44:21 +02:00
parent d2513e6737
commit e1cc6d047a
1 changed files with 17 additions and 4 deletions

View File

@ -5,23 +5,36 @@ Website build with Hugo 0.73.0
## Get Hugo
https://gohugo.io/getting-started/installing/
## clone website repo
## Clone website repo
```
git clone --recurse-submodules https://git.irsamc.ups-tlse.fr/LCPQ/lcpq-codes.git
```
## local preview for testing
## Local preview for testing
```
cd lcpq-codes
hugo serve
```
## compile the website
you will get a message in the terminal similar to
```
Web Server is available at http://localhost:1313/codes/ (bind address 127.0.0.1)
Press Ctrl+C to stop
```
Open the address in your browser to preview the web site.
## Compile the website
```
hugo
```
Pages are stored in the `public` folder
The Pages are created in the `public` folder
## Modify an existing page
The pages are stored in the `content` directory.
## Create a new page
```