kacy-c2 of CHG WAD Squad
10/31/2017 - 5:30 PM

How to go about getting CHG working

Steps to Getting CHG Running Locally

  1. Refer to the .env file listed second and add it to the root of the directory
  2. Getting the vendor files on your local env (download here: https://2213cede40a604584215-9ee96f1966c66f3d8052e4acb786f895.ssl.cf1.rackcdn.com/cacher%20docs./vendor.zip)
  3. navigate to chghealthcare and run npm install
  4. run gulp
  5. run gulp watch
APP_ENV=local
APP_DEBUG=true
APP_KEY=SomeRandomString
APP_APIJOBS=’https://stageapi.foundationmedicalstaffing.com/api/public/v2/jobs'
APP_APIPOST=‘https://stageapi.foundationmedicalstaffing.com/api/public/v2/leads’
APP_APILOGIN=‘https://stageapi.foundationmedicalstaffing.com/api/public/v2/login’

DB_HOST=localhost
DB_DATABASE=chghealthcare
DB_USERNAME=root
DB_PASSWORD=

API_KEY=fuOllEQar5h8UtMi7f8lhk5vVigDge
APP_LINKPOLICY=detect
APP_URL=http://chghealthcare.app/
WORDPRESS_HOST=localhost
WORDPRESS_DATABASE=chghealthcareblog
WORDPRESS_USERNAME=homestead
WORDPRESS_PASSWORD=secret
APP_TRACKING=test

BLOG_LINK=’http://devblog.chghealthcare.com'
# // navigate to your code in terminal
cd chghealthcare

# run npm install in the root of the CHG directory to donwload dependancies
npm install

#gulp to compile
gulp

#gulp to look for my changes
gulp watch

#prior to committing changes (which we could also document popular GIT command in the repo) stop gulp watching
Control Key (mac keyboard) + C

#committ changes....