Mosia is a one-in-all solution for developer to build, test, and deploy JavaScript application.
Local machine:
npm install --global mosia
Server machine:
docker run -d -v /your/mosia/data:/data -p 7777:7777 writeforchrist/mosia
- Build for monorepo, but single repo supported.
- Easy containerizing your app with Docker.
- Deploy your code using Docker image.
- Ship your code to docker registry (public or private).
- Auto config Eslint based on differents selected standards (standard, xo, airbnb, or custom).
- Auto config test framework for your project.
- Simple configuration file.
mosia init
: init mosia config file for the current project.mosia registry add [registry]
: add a private docker registry.mosia npm add [npm]
: add a private npm registry.
mosia add [package-name]
: add new package to the current project.mosia [package-name]:add
: install one or more dependencies for the provided package.mosia [package-name]:remove
: remove one or more dependencies for the provided package.mosia cmd [package-name]:[command]
: execute custom command for the provided package, it can be run inside the container when Dockerfile is available.mosia docker add [package-name]
: setup Dockerfile for the package name.mosia docker release [package-name]:[tag]
: build the package and push it to the registry.
mosia server add [mosia-url]
: add remote Mosia url exposed by your server.mosia server ls
: list all the applications deployed on the server.mosia server run [app]
: run/restart application.mosia server create [app]:[tag]
: create application on running server.mosia server recreate [app]:[tag]
: recreate running/stopped app from server with new image tag.
Thanks goes to these wonderful people (emoji key):
Phạm Dương Nhật Nam 💻 📖 |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!