Skip to content

Instantly share code, notes, and snippets.

@quentinadam
Created March 24, 2016 20:49
Show Gist options
  • Save quentinadam/a2f9cceebda297c07074 to your computer and use it in GitHub Desktop.
Save quentinadam/a2f9cceebda297c07074 to your computer and use it in GitHub Desktop.
curl "https://downloads.partkeepr.org/partkeepr-1.0.0-alpha.1.tbz2" | bzip2 -d | tar xvf -
sudo add-apt-repository ppa:ondrej/php5-5.6
sudo apt-get update
sudo apt-get install python-software-properties
sudo apt-get install php5 php5-gd mysql-server php5-mysql php5-curl php5-intl php5-apcu php5-ldap
sudo dpkg-reconfigure tzdata
sudo sed -i "s|;date.timezone =|date.timezone = Europe/Brussels|" /etc/php5/apache2/php.ini
sudo a2enmod rewrite
# add cron: 0 0,6,12,18 * * * /usr/bin/php <path-to-partkeepr>/app/console partkeepr:cron:run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment