forked from diriano/labbces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
guide.txt
55 lines (32 loc) · 1.56 KB
/
guide.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
-Adding new people
-Edditing people
People info are under content/authors, for each person there is a folder in that path. Edit the _index.md file and the avatar.jpg|png to have a pic.
-Adding publications
Add publication into the bib file (using JabRef): biblioDMRP.bib
And then run:
academic import --bibtex biblioDMRP.bib
If previous publication had been updated tne overwrite the import with the flag --overwrite
academic import --overwrite --bibtex biblioDMRP.bib
-Adding news
in the root folder of the site run:
hugo new --kind post post/25-11-2021-BSB2021
then edit the index.md file
-Adding projects
hugo new --kind project project/my-project-name
#https://wowchemy.com/docs/content/projects/
- Adding events
hugo new --kind event event/SAGB-26042023
#For instance our seminario de afinidades
- Add a picture to the film roll
Add the jpeg file to content/pictures/bces/
Add description in content/pictures/index.md
-Adding slides
hugo new --kind slides slides/SAGB-30082023/
#Example hugo new --kind slides slides/SAGB-30082023/
# Doc for example hugo new --kind slides slides/SAGB-30082023/
#Doc https://wowchemy.com/docs/content/slides/
#In order to deploy the website in opur server labbces.cena.usp.br, we need to use hugo version 0.84.4, the latest version do not work with the templates from wowchemy
hugo --gc --minify -b http://labbces.cena.usp.br/
#and the copy to the server, which is already configure to serve from /home/labbces/www/
hugo --gc --minify -b http://labbces.cena.usp.br/
rsync -avz -e 'ssh -p 2222' public/ [email protected]:~/www/