The landing page for api.sandbox.csun.edu / api.metalab.csun.edu
Make sure you meet the following dependencies and install them in the following order.
$ npm install
Once you have the dependencies installed, simply issue one of the following commands in your terminal:
$ jigsaw build // builds using config.php
$ jigsaw build production // builds using config.production.php
$ jigsaw build sandbox // builds using config.sandbox.php
$ jigsaw build testing // builds using config.testing.php
...to serve the application with the built-in PHP server:
$ jigsaw serve // serves the contents inside build_local
$ jigsaw serve production // serves the contents inside build_production
$ jigsaw serve sandbox // serves the contents inside build_sandbox
$ jigsaw serve testing // serves the contents inside build_testing
After we have built the specified environment, we are ready to push our files to their respective branches.
Since we're using jigsaw to automate the build process as much as possible there's a special way to push to the respective branches dev
, master
, and demo
First we'll need to do a force add replacing <build_type> with the respective build: testing, sandbox, production
$ git add build_<build_type>
Then we proceed to commit as normal.
$ git commit -m "<Your Message Here>"
After which we issue
$ git push
Notes: The mappings to builds and branches are as follows
build_testing --> dev
build_production --> master
build_sandbox --> demo