Skip to content

astrolabsoftware/fink-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fink website

To deploy locally

git clone https://github.com/astrolabsoftware/fink-website.git
cd fink-website

# add submodule
git submodule init
git submodule update

# launch it
docker run --rm -it  -p 1313:1313 -v $(pwd):/src klakegg/hugo:0.81.0 \
  server \
  -t vanilla-bootstrap-hugo-theme 

To deploy

docker run --rm -it  -p 1313:1313 -v $(pwd):/src klakegg/hugo:0.81.0 \
  -t vanilla-bootstrap-hugo-theme \
  --baseUrl="https://fink-broker.org" \
  --buildDrafts \
  --cleanDestinationDir

Troubleshooting

On linux, you may want to run docker without sudo. To do this just:

sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker # or restart computer