mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-22 06:23:01 +00:00
build: fix generation of settings file
This commit is contained in:
parent
9aa128ff0d
commit
94f28b2cad
1 changed files with 1 additions and 1 deletions
2
build
2
build
|
@ -143,7 +143,7 @@ task_setup() {
|
||||||
mkdir "./data"; chmod 0700 "./data";
|
mkdir "./data"; chmod 0700 "./data";
|
||||||
|
|
||||||
echo -e "# -------[ Custom Settings File - Last updated $(date) ]-------" >"./data/settings.toml";
|
echo -e "# -------[ Custom Settings File - Last updated $(date) ]-------" >"./data/settings.toml";
|
||||||
echo -e '[database]\nusername = "INSERT_DATABASE_USERNAME_HERE"\npassword = "INSERT_DATABASE_PASSWORD_HERE";' >>"./data/settings.toml";
|
echo -e '[database]\nusername = "INSERT_DATABASE_USERNAME_HERE"\npassword = "INSERT_DATABASE_PASSWORD_HERE"' >>"./data/settings.toml";
|
||||||
chmod 0600 "./data/settings.toml";
|
chmod 0600 "./data/settings.toml";
|
||||||
|
|
||||||
echo -e "${HC}Don't forget to edit './data/settings.toml' to specify the database username and password${RS}";
|
echo -e "${HC}Don't forget to edit './data/settings.toml' to specify the database username and password${RS}";
|
||||||
|
|
Loading…
Reference in a new issue