Skip to content

hyperdev-io/subscription-api

Repository files navigation

Subscription API

###Dev set ENV=dev only

###Test/Prod

!!! Should be subscription.yml and hosts files inside client project at Github.com.
subscription.yml:

workers: 5
build-slaves: 4
users: 3
diskspace: 500MB 

Also you should put the api-key variable inside vars.yml (this variable used in project-management. can be any string.) Example:

user_portal:
  api_key: vvsmnsdf-werfds-ewrfds-qweeq-dssdf

Env variables

GITHUB_OWNER=%GITHUB_OWNER%;
GITHUB_REPO=%GITHUB_REPO%;
AUTH_TOKEN=%AUTH_TOKEN%;
ENV=test;
BRANCH_NAME=master
Where to get AUTH_TOKEN

https://github.com/settings/tokens (and set true for "Full control of private repositories")