Commit 7e572f5f authored by yova's avatar yova
Browse files

Merge branch 'fix/4' into 'master'

Initial take at README and deployment

Closes #4 and #5

See merge request !2
parents ef7a1834 def4d360
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
[submodule "themes/detox"]
	path = themes/detox
	url = https://lab.allmende.io/solidbase/website-theme.git 
[submodule "public"]
	path = public
	url = dokku@apps.allmende.io:solidbase.info

README.markdown

0 → 100644
+31 −0
Original line number Diff line number Diff line
# `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
+1 −1
Original line number Diff line number Diff line
@@ -3,5 +3,5 @@ title: "Presentation about dedicated SFS tools"
date: 2018-08-01
---
<center>
See the presentation on <https://sfslides.solidbase.info>
See the presentation on <https://slides.solidbase.info>
</center>

deploy

0 → 100755
+34 −0
Original line number Diff line number Diff line
#!/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

Original line number Diff line number Diff line
Subproject commit f2f86e5cc99d528c072b87f80d5368afa03e4d91