Skip to content
This repository has been archived by the owner on Aug 10, 2020. It is now read-only.

delegator/composer-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delegator - Composer Repository

Powered by Satis.

Requirements

Getting Started

# Install dependencies
$ ./script/bootstrap

# Compile repository
$ ./script/build

# Preview the site at http://localhost:4000/
$ ./script/server

Tips

When compiling this Satis repository, you will quickly exhaust GitHub's unauthenticated request/rate limit due to the repeated fetching of repository metadata. If you have not done so already, composer will prompt you to create a GitHub personal access token, and composer will cache your credentials in ~/.composer/auth.json.

Deployment

For deployment, we suggest that you place your GitHub access token in the COMPOSER_AUTH environment variable. Visit https://github.com/settings/tokens/new?scopes=repo to create a token with the required privileges.

# Place your auth token in the environment
$ export COMPOSER_AUTH='{"github-oauth": {"github.com": "your_token_here"}}'

# Compile the repository for production
$ ./script/dist