csuntechlab / web-services

The landing page for api.sandbox.csun.edu / api.metalab.csun.edu

Home Page:http://api.metalab.csun.edu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

META+LAB Web Services

The landing page for api.sandbox.csun.edu / api.metalab.csun.edu

Table of Contents

  1. Development Dependencies
  2. Serving
  3. Pushing Changes

Development Dependencies

Make sure you meet the following dependencies and install them in the following order.

Optional Dependencies

Optional Installation

$ npm install

Serving the Site

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

Pushing changes

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

About

The landing page for api.sandbox.csun.edu / api.metalab.csun.edu

http://api.metalab.csun.edu

License:MIT License


Languages

Language:HTML 98.0%Language:JavaScript 1.0%Language:PHP 1.0%