Skip to content

Commit

Permalink
Update the "Easy setup" script (PokemonGoF#1217)
Browse files Browse the repository at this point in the history
  • Loading branch information
karololszacki authored and FrostTheFox committed Sep 21, 2016
1 parent ef11873 commit b52ba3b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Tools/Easy-Setup/easy-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ echo ""

if [ "$(grep -Ei 'debian|buntu|mint' /etc/*release)" ]; then
echo "Installing python development tools..."
sudo apt-get install python python-dev
sudo apt-get install python python-dev build-essential -y
echo "Adding node repo..."
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
echo "Installing node..."
sudo apt-get install nodejs -y
else
echo "This script only supports debain based Linux distros."
echo "Please install manually."
Expand All @@ -18,7 +22,11 @@ fi
echo "Installing pip..."
sudo python get-pip.py
echo "Installing required python packages..."
pip install -r $scriptDir/../../requirements.txt
sudo pip install -r $scriptDir/../../requirements.txt --upgrade
echo "Installing frontend dependencies..."
npm --prefix $scriptDir/../../ install $scriptDir/../../
echo "Building frontend..."
npm run build

echo "Configuring Google Maps API..."
cp $scriptDir/../../config/config.ini.example $scriptDir/../../config/config.ini
Expand Down

0 comments on commit b52ba3b

Please sign in to comment.