This repository has been archived by the owner on Aug 25, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
we have to install phantomjs manually as Ubuntu would install version…
… 1.9.0 which renders slightly different
- Loading branch information
Showing
3 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,30 @@ | ||
## Remove xdebug for faster test results | ||
sudo rm /etc/php5/cli/conf.d/20-xdebug.ini | ||
sudo rm /etc/php5/apache2/conf.d/20-xdebug.ini | ||
sudo rm /etc/php5/fpm/conf.d/20-xdebug.ini | ||
cp www/piwik/config/config.ini.php /home/ubuntu/www/piwik/config/config.ini.php | ||
cp etc/mysql/my.cnf /etc/mysql/my.cnf | ||
|
||
## Prepare configs | ||
## cp www/piwik/config/config.ini.php /home/ubuntu/www/piwik/config/config.ini.php | ||
## cp etc/mysql/my.cnf /etc/mysql/my.cnf | ||
## todo update apparmor for load infile support | ||
|
||
## Restart services | ||
sudo service mysql restart | ||
sudo service apache2 restart | ||
sudo /etc/init.d/php5-fpm restart | ||
## todo update apparmor for load infile support | ||
|
||
## Install packages needed for UI tests (fonts + phantomjs 1.9.8, tests do not work with the PhantomJS version provided by Ubuntu) | ||
sudo add-apt-repository "deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty multiverse" | ||
sudo add-apt-repository "deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty multiverse" | ||
sudo add-apt-repository "deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates multiverse" | ||
sudo add-apt-repository "deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates multiverse" | ||
sudo apt-get update | ||
sudo apt-get install ttf-mscorefonts-installer | ||
sudo apt-get install ttf-mscorefonts-installer | ||
|
||
cd /usr/local/share/ | ||
sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2 | ||
sudo tar xjf phantomjs-1.9.8-linux-x86_64.tar.bz2 | ||
sudo ln -s /usr/local/share/phantomjs-1.9.8-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs | ||
sudo ln -s /usr/local/share/phantomjs-1.9.8-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs | ||
sudo ln -s /usr/local/share/phantomjs-1.9.8-linux-x86_64/bin/phantomjs /usr/bin/phantomjs | ||
cd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters