Skip to content

This repository contains the documentation of discue.io

Notifications You must be signed in to change notification settings

discue/api-docs

Repository files navigation

Vue logo

api-docs

discue.io API documentation repository.

Installation

git clone https://github.com/discue/api-docs

Development

Run

Runs and serves the application in development mode.

./run-dev.sh

Build

Build the application with production mode.

./build.sh

Releases new patch version

Release versions must be in sync with API versions.

npm run release

Releases new minor version

Release versions must be in sync with API versions.

npm run release-minor

Deploy

Deploy the current state to production. Push to branch deploy, which will automatically build and deploy the current version to production. Or run ...

./deploy.sh

Update API Reference

Convert the internal OpenAPI file to VuePress compatible Markdown. Requires

cd ..
git clone https://github.com/discue/openapi3-to-vuepress2-markdown
git clone https://github.com/discue/discue-io-api
cd api-docs
./generate-api-doc-local.sh

Continuous integration

Tests

Builds and tests the application whenever a new commit was pushed.

Releases

Creates a GitHub release whenever a new tag was pushed.

Deploy

Builds and deploys the application to production whenever branch deploy was updated.

Stale

Closes stale issues and PRs.

License

MIT