mirror of
https://github.com/zeropingheroes/lancache-autofill
synced 2024-11-22 15:43:04 +00:00
17 lines
No EOL
528 B
Bash
Executable file
17 lines
No EOL
528 B
Bash
Executable file
#!/bin/bash
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
GREEN='\033[0;32m'
|
|
BLACK='\033[0m'
|
|
|
|
printf "${GREEN}Installing dependencies with Composer${BLACK}\n"
|
|
cd $SCRIPT_DIR && composer install
|
|
|
|
printf "${GREEN}Creating database file${BLACK}\n"
|
|
cd $SCRIPT_DIR && touch "database.sqlite"
|
|
|
|
printf "${GREEN}Creating your enviroment file${BLACK}\n"
|
|
cd $SCRIPT_DIR && cp ".env.example" ".env"
|
|
|
|
cd $SCRIPT_DIR && ./lancache-autofill app:initialise-database
|
|
|
|
cd $SCRIPT_DIR && ./lancache-autofill steam:update-app-list |