https://github.com/captaincodeman/appengine-npm
Private Verdaccio npm registry running on AppEngine
https://github.com/captaincodeman/appengine-npm
Last synced: 5 months ago
JSON representation
Private Verdaccio npm registry running on AppEngine
- Host: GitHub
- URL: https://github.com/captaincodeman/appengine-npm
- Owner: CaptainCodeman
- Created: 2018-11-29T16:05:08.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-10T04:24:46.000Z (about 4 years ago)
- Last Synced: 2025-05-07T04:37:47.357Z (9 months ago)
- Size: 76.2 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# AppEngine npm
Private npm registry using [Verdaccio](https://verdaccio.org)
running on Google AppEngine with [GitHub](https://github.com)
authentication.
This uses the node.js AppEngine Standard Runtime and because
npm isn't something you are typically accessing all the time,
AppEngine's ability to scale down to zero when not being used
means it will usually stay within the daily free usage limit.
## Dependencies
The following packages are used:
* [Verdaccio](https://github.com/verdaccio)
* [Verdaccio plugin for Google Cloud Storage](https://github.com/verdaccio/verdaccio-google-cloud)
* [Verdaccio plugin for GitHub OAuth](https://github.com/n4bb12/verdaccio-github-oauth-ui)
## Usage
Install using:
npm install
The Verdaccio configuration settings are stored in `config.yaml`
and should be adjusted to match your GitHub organization, scope
in npm and DNS name for your npm registry. When using a custom
domain name you can use a `dispatch.yaml` file to route requests
to the correct AppEngine service (npm) if you have others in the
same project (otherwise, make this service the default).
Follow the instructions for the plugins and set the appropriate
config settings for the Google Cloud Storage bucket, the GitHub
OAuth keys and the organization / package settings you required.
With your project selected in Google Cloud CLI, deploy using:
gcloud app deploy
Or, alternatively, set the project in the deploy command, e.g.:
gcloud app deploy --project captain-codeman