-
Notifications
You must be signed in to change notification settings - Fork 0
Home
pwzgorilla edited this page Oct 14, 2015
·
51 revisions
Nae is a app engine use docker as its backend. With it you can run your app in few seconds.
It is used for automatic pull specified code branch from repos and run it. It also can deploy your apps in a convenient way.
nae is designed contain three components, nae-api, nae-image and nae-container, and also with a scheduler and network manager.Use eventlet
for its concurrency framework, paste
and routes
for its route system and sqlalchemy for its ORM, rabbitmq
as RPC system and mysql
as database. Anymore you can knows for its design
document.
- git clone https://github.com/pwzgorilla/nae.git
- cd nae
- pip install -r requests.txt
- python setup.py install
to be continue...
- nae-api
- nae-image
- nae-container
to be continue...
Project
- list projects
GET /v1/projects
- show project
GET /v1/projects/(id)
- create project
POST /v1/projects
- delete project
DELETE /v1/projects/(id)
- update project
PUT /v1/projects/(id)
User
- list users
GET /v1/users
- show project
GET /v1/users/(id)
- create project
POST /v1/users
- delete project
DELETE /v1/users/(id)
- update project
PUT /v1/users/(id)
Repositories
- list repositories
GET /v1/users
- show repository
GET /v1/users/(id)
- create repository
POST /v1/users
- delete repository
DELETE /v1/users/(id)
- update repository
PUT /v1/users/(id)
Images
- list images
GET /v1/images
- show image
GET /v1/image/(id)
- create repository
POST /v1/images
- delete image
DELETE /v1/images/(id)
- update image
PUT /v1/images/(id)
- commit image
POST /v1/images/commit
Containers
- list containers
GET /v1/containers
- show container
GET /v1/container/(id)
- create container
POST /v1/containers
- delete container
DELETE /v1/containers/(id)
- update container
PUT /v1/containers/(id)
- start container
POST /v1/containers/(id)/start
- stop container
POST /containers/(id)/stop
- reboot container
POST /containers/(id)/reboot
- commit container
POST /containers/(id)/commit
- refresh container
POST /containers/(id)/refresh