colors from template
This commit is contained in:
23
create_config.sh
Executable file
23
create_config.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user