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
# Continuous Integration to a WP Engine install | |
# PHP CircleCI 2.0 configuration file | |
# | |
# You need to generate and add SSH key to CircleCI project SSH Permissions tab | |
# And then copy fingerprint and replace YOUR_SSH_KEY with it. Also same Key must be added to WPEngine's project SSH tab. | |
# After, You need to add environtmen varriables WP_THEME_DIR - theme directory and WPE_INSTALL - | |
# WPEngine install name/slug. You need to have .gitignores folder with two files (__default and __production) | |
# __default means that it will be used in local develoment, and __production will be used when pushing to WPEngine | |
version: 2 |
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
# Continuous Integration to a WP Engine install | |
# PHP CircleCI 2.1 configuration file | |
# Requirements: | |
# 1. In CircleCI settings, add environment variables for your site's installs: | |
# * WPE_PRODUCTION_INSTALL=thenameofyourproductioninstall | |
# * WPE_STAGING_INSTALL=thenameofyourstaginginstall | |
# * WPE_DEVELOPMENT_INSTALL=thenameofyourdevelopmentinstall | |
# 2. In your repo, have two files | |
# * `./.gitignores/__default` -- Excludes any compiled files |
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
image: php:7.2-cli | |
before_script: | |
# Updates | |
- curl -sL https://deb.nodesource.com/setup_10.x | bash | |
- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - | |
- echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list | |
- apt-get update | |
- apt-get -y install yarn libpcre3-dev zlib1g-dev libbz2-dev libpng-dev libjpeg-dev nodejs git zip unzip curl rsync mysql-client | |
- docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr |
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
FOLDER=wp-content/themes/ | |
if [ "production" == "${CI_ENVIRONMENT_NAME}" ]; then | |
WPE_INSTALL=prod_install | |
elif [ "staging" == "${CI_ENVIRONMENT_NAME}" ]; then | |
WPE_INSTALL=staging_install | |
else | |
WPE_INSTALL=dev_install | |
fi |
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
#Download Elementary OS from here: | |
#https://elementary.io/ | |
#Clean-up System | |
sudo apt-get purge midori-granite -y | |
sudo apt-get purge yelp -y | |
sudo apt-get purge evince -y | |
sudo apt-get purge gnome-orca -y | |
sudo apt-get autoremove -y | |
sudo apt-get autoclean -y |