This commit is contained in:
parent
ac09290b93
commit
a004d10ed4
11 changed files with 29 additions and 27 deletions
|
@ -1,18 +1,20 @@
|
|||
# yes
|
||||
when:
|
||||
branch: ['dev', 'stable']
|
||||
branch: ["dev", "stable"]
|
||||
event: ["push", "manual"]
|
||||
steps:
|
||||
- name: build
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
secrets: [ gitpat ]
|
||||
secrets: [gitpat]
|
||||
settings:
|
||||
repo: git.iwakura.rip/hex/disseminate
|
||||
repo: git.iwakura.rip/hex/jabe
|
||||
platforms: linux/amd64
|
||||
dockerfile: Dockerfile
|
||||
tags: ["${CI_COMMIT_BRANCH}-latest","${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA}"]
|
||||
tags:
|
||||
["${CI_COMMIT_BRANCH}-latest", "${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA}"]
|
||||
username: hex
|
||||
registry: git.iwakura.rip
|
||||
registry:
|
||||
git.iwakura.rip
|
||||
#insecure: true
|
||||
password:
|
||||
password:
|
||||
from_secret: gitpat
|
||||
|
|
|
@ -18,7 +18,7 @@ It stems from an issue i've come across, where no blogging platform i could find
|
|||
|
||||
JABE is a work-in-progress, although it is in a more than usable state.
|
||||
|
||||
## Blogs using Disseminate
|
||||
## Blogs using JABE
|
||||
|
||||
- [My own :)](https://blog.iwakura.rip)
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
# Welcome to Disseminate!
|
||||
|
||||
# Welcome to JABE
|
||||
|
||||
Welcome, user! We are glad to have you on board!
|
||||
To start, find the "posts" directory in the data folder you have created, or mounted using docker.
|
||||
This is the same directory you put your config file in.
|
||||
This is the same directory you put your config file in.
|
||||
|
||||
Create a file named "hello.md", and start the file with:
|
||||
|
||||
Create a file named "hello.md", and start the file with:
|
||||
```
|
||||
# [Your Title]
|
||||
```
|
||||
|
||||
Now you can start writing blog posts!
|
||||
```
|
||||
|
||||
Now you can start writing blog posts!
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
version: "3"
|
||||
services:
|
||||
jabe:
|
||||
container_name: disseminate
|
||||
container_name: jabe
|
||||
image: git.iwakura.rip/hex/jabe:stable-latest
|
||||
volumes:
|
||||
- ./data:/app/data # bind mount is recommended.
|
||||
|
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "disseminate",
|
||||
"name": "JABE",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
cat << EOF
|
||||
cat <<EOF
|
||||
____ ______________ __
|
||||
/ __ \/ _/ ___/ ___// / docker edition
|
||||
/ / / // / \__ \\__ \/ / launching bootstrapper...
|
||||
|
@ -9,7 +9,7 @@ EOF
|
|||
if [ -z "$(find data -mindepth 1 -maxdepth 1)" ]; then
|
||||
echo '[bootstrapper] data directory is empty, copying template.'
|
||||
cp -r data.template/* data/
|
||||
chown -R disseminate:disseminate data/
|
||||
chown -R jabe:jabe data/
|
||||
fi
|
||||
|
||||
# echo "[bootstrapper] checking permissions for data folder"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Disseminate Build Script
|
||||
# This script builds disseminate into a docker container, using the dockerfile provided in the repository.
|
||||
# JABE Build Script
|
||||
# This script builds jabe into a docker container, using the dockerfile provided in the repository.
|
||||
|
||||
docker buildx build --build-arg UID=1000 --build-arg GID=1000 . -t disseminate:latest
|
||||
docker buildx build --build-arg UID=1000 --build-arg GID=1000 . -t jabe:latest
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Disseminate docker test script
|
||||
# JABE docker test script
|
||||
mkdir ignore
|
||||
cd ignore
|
||||
|
||||
docker run --rm -it -p 3024:3024 -v ./data:/app/data disseminate:latest
|
||||
docker run --rm -it -p 3024:3024 -v ./data:/app/data jabe:latest
|
||||
|
||||
cd ..
|
||||
rm -R ignore
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Disseminate docker test script
|
||||
# JABE docker test script
|
||||
|
||||
mkdir ignore
|
||||
cd ignore
|
||||
docker run --rm -it -p 3024:3024 --user 1000:1000 -v ./data:/app/data disseminate:latest /bin/bash
|
||||
docker run --rm -it -p 3024:3024 --user 1000:1000 -v ./data:/app/data jabe:latest /bin/bash
|
||||
cd ..
|
||||
rm ignore
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<div id="footer-content">
|
||||
<a style="color: gray !important; opacity: 30%;" href="https://git.clatter.cc/hexlocation/disseminate">powered by Disseminate</a>
|
||||
<a style="color: gray !important; opacity: 30%;" href="https://git.iwakura.rip/hex/jabe">powered by JABE</a>
|
||||
</div>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<div id="footer-content">
|
||||
<a style="display: none;color: gray !important; opacity: 30%;" href="https://git.clatter.cc/hexlocation/disseminate">powered by Disseminate</a>
|
||||
<a style="display: none;color: gray !important; opacity: 30%;" href="https://git.iwakura.rip/hex/jabe">powered by JABE</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue