NOTE: This project is no longer maintained. If you're looking for Accrescent's current developer console, see https://github.com/accrescent/parcelo.
The Accrescent developer console - a web application for developers to upload and manage their apps in the Accrescent app store.
To set up the development/testing environment for the developer console, follow these steps:
- Create an OAuth app from the developer settings of your GitHub account or
organization. Set the homepage URL to
https://localhost:8080
and the authorization callback URL tohttps://localhost:8080/auth/github/callback
. - Generate a new client secret and store it in
devconsole/.env
asGH_CLIENT_SECRET
. Store the app's client ID asGH_CLIENT_ID
. Store the authorization callback URL asOAUTH2_REDIRECT_URL
. - Set
SIGNER_GH_ID
to the value of theid
field fromhttps://api.github.com/users/<username>
. - Set
REPO_URL
tohttp://repo:8080
. - Set
API_KEY
to the same string in bothdevconsole/.env
andreposerver/.env
. - Set
PUBLISH_DIR
inreposerver/.env
to a folder name such as/apps
. This directory is internal to the container. - Generate a TLS certificate & key and store them as
certs/cert.pem
&certs/key.pem
respectively. - Start the application by running
docker compose up
- The web application is now accessible at
https://localhost:8080