- Everytime you change something on pantheon’s web interface, it will change the pantheon repo
- git pull from pantheon’s repo into your local.
- Then push from pantheon’s repo to the dg-dev repo in github.swarthmore.edu with git push swat
git push swat: push to swat repo
- TO ADD:
git remote add swat email@example.com:sshih1/daily-gazette-dev.git
This is a WordPress repository configured to run on the Pantheon platform.
Pantheon is website platform optimized and configured to run high performance sites with an amazing developer workflow. There is built-in support for features such as Varnish, redis, Apache Solr, New Relic, Nginx, PHP-FPM, MySQL, PhantomJS and more.
1. Spin-up a site
If you do not yet have a Pantheon account, you can create one for free. Once you've verified your email address, you will be able to add sites from your dashboard. Choose "WordPress" to use this distribution.
2. Load up the site
When the spin-up process is complete, you will be redirected to the site's dashboard. Click on the link under the site's name to access the Dev environment.
3. Run the WordPress installer
How about the WordPress database config screen? No need to worry about database connection information as that is taken care of in the background. The only step that you need to complete is the site information and the installation process will be complete.
We will post more information about how this works but we recommend developers take a look at
wp-congfig.php to get an understanding.
If you would like to keep a separate set of configuration for local development, you can use a file called
wp-config-local.php, which is already in our .gitignore file.