Skip to content

Latest commit

 

History

History
93 lines (72 loc) · 3.27 KB

Readme.md

File metadata and controls

93 lines (72 loc) · 3.27 KB

Name

project-basic-template - an OS-independent container development framework

Table of Contents

Description

project-basic-template is a full-fledged development framework, aims to provide a user-friendly out-of-the-box container development environment.

Back to TOC

Project Structure

.
├── Makefile  # project helper driven by makefile                   
├── Readme.md # project self-description document
└── ci
    ├── Makefile                  # project ci helper driven by makefile
    ├── docker-compose.devops.yml # devops docker-compose yaml
    ├── docker-compose.lint.yml   # devops linter docker-compose yaml
    ├── pod                       # docker-compose pod meta folder
    │   ├── build
    │   │   └── release
    │   │       ├── Dockerfile    # basic devops image dockerfile
    │   │       └── entrypoint.sh # basic devops image entrypoint script
    │   └── lint
    │       ├── eclint
    │       │   └── Dockerfile    # basic eclint image dockerfile
    │       └── spellcheck
    │           └── Dockerfile    # basic spellcheck image dockerfile
    └── utils
        └── linux-common.sh       # basic linux utils script

Back to TOC

How to launch

Use the make command to show the project's built-in cmd.

$ make
[ info ] Makefile rules:

    make help                 : Show Makefile rules
    make devops               : Run DevOPS container
    make devops_build         : Build DevOPS container image
    make devops_clean         : Clean up DevOPS container
    make lint                 : Run lint check
    make lint_build           : Build lint container image
    make lint_clean           : Clean up lint container
    make publish              : Publish release artifact in pure mode
    make release              : Release current project without version control
    make release_clean        : Clean up release artifact

Use make devops to launch devops devel container.

$ make devops
[ info ] _devops -> [ Start ]
[+] Building 0.0s (0/0)                                                                                                                                                                 docker:desktop-linux
[+] Creating 1/0
 ✔ Network project_template_default  Created                                                                                                                                                            0.0s 
[+] Building 0.0s (0/0)                                                                                                                                                                 docker:desktop-linux
devops:~/workbench# 

devops container will mount project folder as /root/workbench in container.

then, you are ready to go.

Back to TOC

Report Bugs

You're very welcome to report issues on GitHub

Back to TOC