https://github.com/crane-cloud/mira
Image creation service
https://github.com/crane-cloud/mira
containers docker kubernetes
Last synced: about 2 months ago
JSON representation
Image creation service
- Host: GitHub
- URL: https://github.com/crane-cloud/mira
- Owner: crane-cloud
- Created: 2021-07-28T04:38:21.000Z (almost 5 years ago)
- Default Branch: develop
- Last Pushed: 2024-01-11T07:42:29.000Z (over 2 years ago)
- Last Synced: 2025-11-30T15:08:46.220Z (7 months ago)
- Topics: containers, docker, kubernetes
- Language: JavaScript
- Homepage:
- Size: 76.2 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mira
Automate app containerization.
## How to run locally
1. ### Assumptions
- A working `Node` environment.
- An installation of the `yarn` package manager.
- Install the above if you have to.
2. ### Running
- Install dependencies: `yarn install` or simply `yarn`.
- Create a `.env` file and add these values: `PORT=5000`.
- Start server: `node index.js` or `nodemon` if you have nodemon installed.
- To stop the server: `ctl + c`.
3. ### Testing
Request
`POST /`
`Content-Type: multipart/form-data`
`payload: { files: file (any html file), name: string, tag: string (version), framework: string (use html for now), token: string (log into crane cloud and get token), project: string (any active project in your account) }`
Response
`201`
`Content-Type: application/json`
`body: { status: string, data: object }`
The API will be standardized with time. Doesn't need a DB.