build: adding a setup script
This commit is contained in:
parent
c683f69951
commit
4ebe1367bf
1 changed files with 5 additions and 4 deletions
9
setup.sh
9
setup.sh
|
|
@ -1,10 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
DATABASE_USER="tty_dev"
|
||||
DATABASE_PASS="PasswordCompliqueOuPasMdr!"
|
||||
DATABASE_NAME="bot_db"
|
||||
DATABASE_URL="postgres://${DATABASE_USER}:${DATABASE_PASS}@localhost:5432/${DATABASE_NAME}"
|
||||
DATABASE_USER="user"
|
||||
DATABASE_PASS="password"
|
||||
DATABASE_NAME="database"
|
||||
DATABASE_PORT="database"
|
||||
DATABASE_URL="postgres://${DATABASE_USER}:${DATABASE_PASS}@localhost:${DATABASE_PORT}/${DATABASE_NAME}"
|
||||
|
||||
function log_info() {
|
||||
echo -e "\033[1;34m[INFO]\033[0m $1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue