24 lines
595 B
Bash
Executable File
24 lines
595 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x
|
|
test -f .env || cp env.example .env
|
|
test -f data/config.json || cp data/config.json.example data/config.json
|
|
test -f data/shares.json || cp data/shares.json.example data/shares.json
|
|
test -f code/notifier.py || touch code/notifier.py
|
|
test -f code/static/css/colors.css || {
|
|
echo '
|
|
:root {
|
|
--background-light-color: #FDF2E9;
|
|
--background-dark-color: #FAE5D3;
|
|
--text-color: #0E6251;
|
|
--border-color: #0E6251;
|
|
}
|
|
' > code/static/css/colors.css
|
|
}
|
|
test -f code/static/css/user.css || touch code/static/css/user.css
|
|
set +x
|
|
|
|
echo Now edit data/config.json
|
|
echo See README.md
|
|
|