socialtree/README.md

40 lines
1.8 KiB
Markdown
Raw Normal View History

2022-10-14 13:27:26 +01:00
# Socialtree
*The awesome and damn simple, selfhosted alternative to linktree*
---
2023-01-15 11:33:39 +00:00
[![made-with-javascript](https://img.shields.io/badge/Made%20with-JavaScript-1f425f.svg)](https://www.javascript.com)
[![GitHub license](https://img.shields.io/github/license/Naereen/StrapDown.js.svg)](https://dev.cat-enby.club/Nikurasu/socialtree-js/raw/branch/main/LICENSE.txt)
2023-01-15 11:44:12 +00:00
[![Speed - Blazing ⚡](https://img.shields.io/badge/Speed_-Blazing_⚡-blue)](https://www.youtube.com/watch?v=oPTwBv9lvhw)
2023-01-15 13:24:17 +00:00
- [TODO](#todo)
- [Setup](#setup)
- [Build your own Themes](#build-your-own-theme)
2022-10-14 13:27:26 +01:00
## TODO:
2023-01-06 20:41:39 +00:00
- [X] working template
2023-01-15 13:24:17 +00:00
- [ ] overwrites of default themes with css `!important` for round profile-pic etc.
- [ ] more themes
- [ ] more variations of the themes in version 1.0
- [X] Dockerize
2023-01-06 20:41:39 +00:00
### TODO until 1.0:
2023-01-15 13:24:17 +00:00
- [X] Import my themes from the old socialtree
2023-01-06 20:41:39 +00:00
- [X] Overwrite for round profile pictures
2023-01-14 13:47:07 +00:00
- [X] Testing if everything works like expected
- [ ] Expand Documentation
- [ ] Rewrite README
2023-01-06 20:41:39 +00:00
## Setup
A up to date docker image is provided at my gitea, but you can also build it yourself.
### Build
1. Clone the repository `git clone https://git.oishi-ra.men/Nikurasu/socialtree-js.git`
2. Copy .env.example to .env and edit it to your needs
3. Build the image. For unix like systems I provide a bash script in `dev/shell/docker-prod.sh`. I hated the hassle to type the full command every time ;)
### Deploy
2022-11-11 13:25:16 +00:00
1. Done with docker-compose. Use the file at `dev/docker/stacks/main/compose.yml` and edit it to your needs.
2. Configure the resulting config.yml file under your mounted assets volume `config/config.yml` and replace the profile pic in the img folder `img/profilepic.jpg`.
2023-01-06 20:41:39 +00:00
The image name can be ajusted in the config file if needed.
2023-01-15 13:24:17 +00:00
## Build your own theme
1. Create a new scss file with the themes name in `/src/public/themes`