Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
/ bowerzipper Public archive

Node web service that generates a .zip for a particular bower install

Notifications You must be signed in to change notification settings

googlearchive/bowerzipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bowerzipper

Node app that generates a .zip for a particular bower install. The backend (zipper.bowerarchiver.appspot.com) runs on Google Compute Engine as managed VM. The frontend (bowerarchiver.appspot.com) runs on Google App Engine.

Admin on Google Cloud Engine

The cloud console page is at https://console.developers.google.com/project/apps~bowerarchiver/compute/instances. From here, you can ssh into machines, manage the VMs, and project settings.

Updating the zipper on Google Cloud Engine

  1. Install the code from github

     git clone https://github.com/PolymerLabs/bowerzipper
    
  2. Make your changes.

  3. Deploy the frontend and/or backend using:

     gcloud preview app deploy frontend/ --project bowerarchiver
     gcloud preview app deploy zipper/ --project bowerarchiver
     # gcloud --verbosity debug preview app deploy zipper/ --server preview.appengine.google.com
    

Try it!

The frontend allows you to download components: bowerarchiver.appspot.com.

You should be able to hit the endpoint and download stuff. You can also pass params directly to interact with the web service:

Run locally using Node

git clone https://github.com/PolymerLabs/bowerzipper
cd bowerzipper
npm install
node server.js

Try it!

Hit http://localhost:8080/archive?core-ajax=Polymer/core-ajax

Run locally using Docker

These instructions are only necessary if you want to run the local app using Docker.

Installation

  1. Install Docker

  2. Download boot2docker

Start the Docker VM

ssh into the docker VM and allow listening on 8080:

boot2docker ssh -L 8080:localhost:8080

Get the app code and build the image

git clone https://github.com/PolymerLabs/bowerzipper
sudo docker build -t bowerzipper bowerzipper/
sudo docker run -d -p 8080:8080 bowerzipper

Try it!

Hit http://localhost:8080/archive?core-ajax=Polymer/core-ajax

About

Node web service that generates a .zip for a particular bower install

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published