periscope-tools

0.0.3 • Public • Published

tools

Tools and utility functions used to build and develop Periscope libraries.

To create a dev environment:

  1. Create an periscope directory to hold all of the projects.
mkdir periscope
  1. Change to the new directory
cd periscope
  1. Clone this repository into the tools directory. This repo contains the helper tools for creating the dev environment.
git clone https://github.com/privosoft/periscope-tools.git
  1. Clone the periscope-demo-app also which is the base app for testing -
git clone https://github.com/privosoft/periscope-demo-app.git
  1. Change directory into periscope-demo-app
cd periscope-demo-app
  1. Install the periscope-demo-app application's dependencies:
npm install
jspm install
  1. Build the dev environment. This will create all of the directories inside of periscope under the proper name, git clone them all and then perform a gulp build. If the directories were created previously build-dev-env command will just rebuild them.
gulp build-dev-env

Alternatively, run gulp pull-dev-env to only pull down each periscope dependency and not perform builds. Sometimes 'gulp build-dev-env' doesn't work properly with some versions of npm. If you was failed to create the dev environment using this command you can make it manually. Firstly, you have to create subfolders for each dependent package. Each subfolder's name should be the same as repo name excluding the word 'periscope-'. So, your directory structure should look as follows:

+-- periscope
|   +-- demo-app
|   +-- framework (for periscope-framework)
|   +-- ui  (for periscope-ui)
|   +-- etc.

Then you should run 'git clone', 'npm install' and 'jspm install' for each dependent package.

  1. Now you have the ability to update the repos locally, make changes, and use those in the periscope-demo-app in the periscope directory by using the gulp update-own-deps command. Note: before run update-own-deps command please make sure that the changed repos were properly built othervise run build-dev-env one more time.

Readme

Keywords

Package Sidebar

Install

npm i periscope-tools

Weekly Downloads

0

Version

0.0.3

License

MIT

Last publish

Collaborators

  • hopkins700