Giter VIP home page Giter VIP logo

appboot / appboot Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 1.0 784 KB

Appboot, which means application BootLoader, is a universal platform for creating applications. Appboot creates applications based on templates. A template contains code, configuration(description, parameters, custom scripts), and more. In custom scripts, you can do anything like commit code, configure CI&CD, DevOps, etc.

License: MIT License

Dockerfile 0.99% Shell 1.41% HTML 0.47% Vue 18.22% Go 68.45% Makefile 1.95% TypeScript 6.69% CSS 1.83%
appboot cicd initial lint scaffold scaffolding template

appboot's Introduction

appboot

Go codecov Go Report Card Release GoDoc


logo

中文请戳

Appboot, which means application BootLoader, is a universal platform for creating applications.

Appboot creates applications based on templates. You can create custom templates to meet different requirements.

A template contains code, configuration(description, parameters, custom scripts), and more.

In custom scripts, you can do anything like commit code, configure CI&CD, DevOps, etc.

Install

# Go 1.16+
go install github.com/appboot/[email protected]

# Go version < 1.16
go get -u github.com/appboot/[email protected]

Quick Start

Command Line Tool

appboot create

appboot web

$ docker run -it \
-e API_URL=http://127.0.0.1:8000 \
-v $HOME/appboot:/root/.appboot \
-p 8000:8000 \
-p 3000:80 \
appboot/appboot

Visit http://localhost:3000/ to update templates and create projects.

Note:

  • -e API_URL: API URL. appboot docker includes frontend and backend, so API_URL is the address where appboot docker is deployed, where the API backend service port is 8000, and the frontend port is 80.
  • -v $HOME/appboot:/root/.appboot: Map the appboot's working directory to $HOME/appboot, so that configuration and Data can be persisted locally. Once the test project is created, it can be found in the working directory
❯ tree -a -L 2 $HOME/appboot
/Users/catchzeng/appboot
├── workspace
│ └── test
└── templates
├── GO-CMD
├── README-CN.md
├── README.md
├── SwiftUI
└── VUE

6 directories, 2 files
  • -p 8000:8000: map the 8000 port of the API backend service to the local 8000
  • -p 3000:80: map the frontend 80 port to the local 3000

Configuration

Appboot configuration file(config.yaml) is placed in the $HOME/.appboot/ directory. If you do not have this file, you can create the file yourself.

The current configuration file supports templateSource and templateRoot.

  • templateSource: specifies the source repository for obtaining templates. The default value is https://github.com/appboot/templates.git. If the default repository cannot meet the requirements, you can specify your own repository. For example, templateSource: https://github.com/CatchZeng/templates.git.

  • templateRoot: specifies the storage and retrieval path of the template. The default value is $HOME/.appboot/templates/. For example, templateRoot: /Users/catchzeng/Desktop/templates means set the template path to my desktop templates directory.

$ cat $HOME/.appboot/config.yaml
templateSource: https://github.com/CatchZeng/templates.git
templateRoot: /Users/catchzeng/Desktop/templates

appboot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jayden1228

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.