Skip to content
pwzgorilla edited this page Oct 14, 2015 · 51 revisions

What is nae

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.

How to install

How to config

to be continue...

How to fire

  • nae-api
  • nae-image
  • nae-container

How does it work

to be continue...

Api/v1

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
Clone this wiki locally