mirror of
https://github.com/zeropingheroes/lancache-autofill
synced 2024-11-10 02:14:12 +00:00
Simplify installation
This commit is contained in:
parent
5d8b9d56fd
commit
38ba74a952
3 changed files with 9 additions and 10 deletions
|
@ -27,11 +27,9 @@ Automatically fill a [lancache](https://github.com/zeropingheroes/lancache) with
|
||||||
* Dependencies detailed in *Installation* section
|
* Dependencies detailed in *Installation* section
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
1. `sudo apt update -y`
|
1. `git clone https://github.com/zeropingheroes/lancache-autofill.git && cd lancache-autofill`
|
||||||
2. `sudo apt install -y lib32gcc1 lib32stdc++6 lib32tinfo5 lib32ncurses5 php7.2-cli php7.2-mbstring php7.2-sqlite php7.2-bcmath php7.2-dom composer expect zip unzip`
|
2. `./install.sh`
|
||||||
3. `git clone https://github.com/zeropingheroes/lancache-autofill.git && cd lancache-autofill`
|
3. Get a Steam API key from http://steamcommunity.com/dev/apikey and add it to the `.env` file
|
||||||
4. `./install.sh`
|
|
||||||
5. Get a Steam API key from http://steamcommunity.com/dev/apikey and add it to the `.env` file
|
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
|
|
4
Vagrantfile
vendored
4
Vagrantfile
vendored
|
@ -17,10 +17,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
v.customize ["modifyvm", :id, "--uartmode1", "disconnected" ]
|
v.customize ["modifyvm", :id, "--uartmode1", "disconnected" ]
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.provision "apt",
|
|
||||||
type: "shell",
|
|
||||||
inline: "apt update && apt install -y lib32gcc1 lib32stdc++6 lib32tinfo5 lib32ncurses5 php7.2-cli php7.2-mbstring php7.2-sqlite php7.2-bcmath composer expect zip unzip"
|
|
||||||
|
|
||||||
config.vm.provision "project",
|
config.vm.provision "project",
|
||||||
type: "shell",
|
type: "shell",
|
||||||
privileged: false,
|
privileged: false,
|
||||||
|
|
|
@ -3,7 +3,12 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
GREEN='\033[0;32m'
|
GREEN='\033[0;32m'
|
||||||
BLACK='\033[0m'
|
BLACK='\033[0m'
|
||||||
|
|
||||||
printf "${GREEN}Installing dependencies with Composer${BLACK}\n"
|
printf "${GREEN}Installing apt package dependencies${BLACK}\n"
|
||||||
|
sudo apt update -y
|
||||||
|
sudo apt install -y lib32gcc1 lib32stdc++6 lib32tinfo5 lib32ncurses5 composer expect zip unzip \
|
||||||
|
php7.2-cli php7.2-mbstring php7.2-sqlite \php7.2-bcmath php7.2-dom
|
||||||
|
|
||||||
|
printf "${GREEN}Installing PHP dependencies with Composer${BLACK}\n"
|
||||||
cd $SCRIPT_DIR && composer install
|
cd $SCRIPT_DIR && composer install
|
||||||
|
|
||||||
printf "${GREEN}Creating database file${BLACK}\n"
|
printf "${GREEN}Creating database file${BLACK}\n"
|
||||||
|
|
Loading…
Reference in a new issue