Skip to content
Snippets Groups Projects
Commit eaf2d1ad authored by Oskar Stenberg's avatar Oskar Stenberg
Browse files

Updated install scripts

parent efb76dbd
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment