- Install Docker (www.docker.com)
- Clone the repo
git clone git@github.com:pawar-2018/pawar2018.git
- Start the docker container
docker-compose up -d
- In another terminal tab,
cd
in to your local clone of the repo and runnpm install
. - To start your dev server, run
npm start
. This proxies from localhost:8000, which is where Docker is running, so you do need Docker from step 3 running as well. - You might need to restart your vms (docker-compose restart) if you are getting a pawar2018 not found error
- If you're just running onto merge conficts or want to make sure you build before pushing (this will be fixed when we get deployment more figured out, sorry, because this will get annoying really fast) you can just run
npm run build
.
- Install Docker Toolbox on Windows (https://docs.docker.com/toolbox/toolbox_install_windows/), you'll need Python installed
- Clone the repo
git clone git@github.com:pawar-2018/pawar2018.git
- Start the docker container with Docker Quickstart Terminal
- You might need to change the volumes for Wordpress to:
- /wp-content/themes/pawar2018:/var/www/html/wp-content/themes/pawar2018
- Navigate in the CL to your local file path where
docker-compose.yml
is located
docker-compose up -d
- Open Oracle VM and look for your Docker VM(default)
- Right click docker VM(default) and select Settings > Shared Folders
- Mount the location where you clone the repo into by adding a shared folder Folder Path EX: C:\github\username\pawar2018\wp-content Folder Name EX: wp-content
- You might need to restart the VM if it doesn't mount the folder path
- Once you see the files in the VM console(double click the VM for console), fetch your IP in the Docker terminal with docker-machine ip
- Go to http://docker-machine-ip-here:8000
npm run build
in terminal, this will run the script for gulp to compile Sass/SCSS
- Go to
http://localhost:8000/wp-admin/themes.php
- Choose
Activate
on thePawar2018
theme
- Go to
http://localhost:8000/wp-admin/options-permalink.php
- Choose the
Post name
option - Save Changes
Currently, the quickest way to get the content is to export an XML copy of the staging site's content and import into your local Wordpress.
- Production (master) http://ameyapawar2018.wpengine.com
- Staging (dev) http://ameyapawar2018.staging.wpengine.com
- Localhost http://localhost:8000
For this project, we will follow the [GitHub Standard Fork & Pull Request Workflow] (https://gist.github.com/Chaser324/ce0505fbed06b947d962). All work should be done on branches in a developers fork. Note that we do our work on the "dev" branch, rather than "master"
- @mephraim
- @micada
- @vwampage
- @brianmontanaweb
- @peterbinks
- [@john-telford] (https://github.com/john-telford)
- [@gensym] (https://github.com/gensym)
- Update dev setup instructions
- Add coding standards
- Add integration standards
- Add git strategy