Giter VIP home page Giter VIP logo

praxis's Introduction

Convox Praxis

A framework for modern application infrastructure.

QUICKSTART

Getting Started with Convox Praxis

ABOUT

Praxis allows you to specify the entire infrastructure for your application using simple primitives.

caches:
  sessions:
    expire: 1d
keys:
  master:
    roll: 30d
queues:
  mail:
    timeout: 1m
services:
  web:
    build: .
    port: 3000
    scale: 2-10
timers:
  cleanup:
    schedule: 0 3 * * *
    command: bin/cleanup
    service: web

API

Praxis makes these primitives available to your application with a simple API.

# list applications
GET /apps

# put an item on a queue
POST /apps/myapp/queues/mail

# get an item from a queue
GET /apps/myapp/queues/mail

# encrypt some data
POST /apps/myapp/keys/master/encrypt

Rack

A Rack is the substrate for running Praxis applications and exposes the Praxis API both externally to management tools and operators and internally to the applications themselves.

Praxis Racks are currently available for the following environments:

Local

Runs on your laptop (or any single node). Great for development and CI.

AWS

A fault-tolerant, highly scalable architecture built on modern AWS services such as ECS, ALB, and Lambda.

INSTALLATION

CLI

MacOS

$ curl https://s3.amazonaws.com/praxis-releases/cli/darwin/cx -o /usr/local/bin/cx
$ chmod +x /usr/local/bin/cx

Linux

$ curl https://s3.amazonaws.com/praxis-releases/cli/linux/cx -o /usr/local/bin/cx
$ chmod +x /usr/local/bin/cx

Rack

Local

$ sudo cx rack install local
Local Rack installation requires sudo to resolve and route local hostnames such as myapp-web.convox

AWS

$ cx rack install aws

DEPLOY

Create a convox.yml

TODO: Reference Docs

See the convox.yml and the examples/ subdirectory of this project.

Create an application

$ cx apps create myapp

Set environment variables

$ cx env set FOO=bar

Deploy the application

$ cx deploy

UPDATING

Your local CLI will automatically keep itself up to date.

You can update an installed Rack using cx rack update.

COPYRIGHT

Convox, Inc. 2017

LICENSE

Apache License, v2.0

praxis's People

Contributors

ddollar avatar mattmanning avatar miguelmoll avatar

Watchers

 avatar

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.