/continuous-delivery-course-example

This is an example repository where some practices of the http://alirezaroshanzamir.github.io/continuous-delivery-course are demonstrated.

Primary LanguageShellMIT LicenseMIT

Continuous Delivery Course Example

This is an example repository where some practices of the Continuous Delivery Course are demonstrated.

Status

Commit Stage Acceptane Test Stage

Build Tools and Software Stack

The following programming languages and tools are used in this repository:

Commands

You can perform common tasks on the repository as follows:

Command Description
pants lint :: Run all the linters on all the files.
pants check :: Run all the checkers (e.g. Mypy) on all the files.
pants package :: Build and generate packages (e.g. Pex, Docker image, etc.) and place the results in the dist/ directory.
pants run docs/build.py Build the documents and place the results in the dist/ directory.
pants run docs/build.py -- --auto Build the documents and start a live reload server.
pants test tests/unit Run the unit tests.
pants test tests/acceptance Run the acceptance tests.
pants generate-lockfiles :: Generate lockfiles for the thirdparty requirements.
pants run src/fitzy/analyzer/api:pex_binary Run the Analyzer RestAPI service.
pants run src/fitzy/analyzer/api:docker_image Run the Analyzer RestAPI service using the Docker container.
pants run src/fitzy/portal:pex_binary Run the Portal web application.
pants run src/fitzy/portal:docker_image Run the Portal web apllication using the Docker container.
docker compose up Start the application using the packaged Docker images.
docker compose down Shut-down the started application.
pants run deploy.py Deploy and start the application on the specified server.

Documents

You can see the published docs here.