Commit eaf2d1ad authored by OskarStenberg's avatar OskarStenberg
Browse files

Updated install scripts

parent efb76dbd
......@@ -8,6 +8,6 @@ if [ "$(id -u)" != "0" ]; then
fi
fi
wget https://raw.githubusercontent.com/snipe/snipe-it/master/snipeit.sh
wget https://gitlab.control.lth.se/OskarS/snipeit/-/raw/importMinAmt/snipeit.sh?inline=false
chmod 744 snipeit.sh
./snipeit.sh 2>&1 | tee -a /var/log/snipeit-install.log
\ No newline at end of file
./snipeit.sh 2>&1 | tee -a /var/log/snipeit-install.log
......@@ -200,7 +200,7 @@ install_snipeit () {
mysql -u root -p --execute="CREATE DATABASE snipeit;GRANT ALL PRIVILEGES ON snipeit.* TO snipeit@localhost IDENTIFIED BY '$mysqluserpw';"
echo "* Cloning Snipe-IT from github to the web directory."
log "git clone https://github.com/snipe/snipe-it $APP_PATH"
log "git clone -b importMinAmt https://gitlab.control.lth.se/OskarS/snipeit.git $APP_PATH"
echo "* Configuring .env file."
cp "$APP_PATH/.env.example" "$APP_PATH/.env"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment