Skip to content

Commit

Permalink
Fix #801 by changing setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
OlafSzmidt committed Sep 9, 2018
1 parent f32250f commit 93631b2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ubuntu_setup.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
apt-get update
apt-get install -y apache2

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -

# Add yarn PPA
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
apt-get update
apt-get install -y nodejs
apt-get install -y python-pip
pip install pipenv

# Uninstall cmdtest (if present) to install the correct yarn.
apt-get remove cmdtest
apt-get install -y yarn
yarn add global parcel-bundler
sysctl fs.inotify.max_user_watches=99999
export PATH="$(yarn global bin):$PATH"

pipenv install && pipenv shell

# Perform cleanup
apt-get autoremove
apt-get clean

0 comments on commit 93631b2

Please sign in to comment.