Commit 7e572f5f authored by Johannes Winter's avatar Johannes Winter 💫

Merge branch 'fix/4' into 'master'

Initial take at README and deployment

Closes #4 and #5

See merge request !2
parents ef7a1834 def4d360
[submodule "themes/detox"] [submodule "themes/detox"]
path = themes/detox path = themes/detox
url = https://lab.allmende.io/solidbase/website-theme.git url = https://lab.allmende.io/solidbase/website-theme.git
[submodule "public"]
path = public
url = dokku@apps.allmende.io:solidbase.info
# `solidbase.info`
This is the source code for [`solidbase.info`](https://solidbase.info).
## Dependencies
- Hugo Extended
i.e. as a Snap package https://gohugo.io/getting-started/installing/#linux
- Node.js, ideally via nvm.sh
## Submodules
```
git submodule sync
git submodule update --init --recursive --remote
```
## Deployment
```
./deploy
```
## Authors
- Johannes Winter
- Jon Richter
## License
CC0
...@@ -3,5 +3,5 @@ title: "Presentation about dedicated SFS tools" ...@@ -3,5 +3,5 @@ title: "Presentation about dedicated SFS tools"
date: 2018-08-01 date: 2018-08-01
--- ---
<center> <center>
See the presentation on <https://sfslides.solidbase.info> See the presentation on <https://slides.solidbase.info>
</center> </center>
#!/bin/bash
echo -e "\033[0;32mDeploying updates to GitLab and Dokku...\033[0m"
# Commit changes.
msg="rebuilding site `date`"
if [ $# -eq 1 ]
then msg="$1"
fi
git add .
git commit -m "pre $msg"
# Build the project.
cd public && git checkout master && cd -
rm -rf public/*
hugo # if using a theme, replace with `hugo -t <YOURTHEME>`
# Go To Public folder
cd public
# Add changes to git.
git add .
git commit -m "$msg"
# Push built repo.
git push
# Come Back up to the Project Root
cd ..
git add .
git commit -m "post $msg"
git push
public @ f2f86e5c
Subproject commit f2f86e5cc99d528c072b87f80d5368afa03e4d91
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment