@architect/docs
Advanced tools
Comparing version 30.0.6 to 30.0.7
@@ -5,3 +5,3 @@ # 🌩 architect | ||
Event driven programming with cloud functions. | ||
Event driven programming with cloud functions is tricky to setup and maintain. `architect` offers a simplistic plaintext manifest and `npm` script based workflows for creating, deploying, working offline and more. | ||
@@ -33,3 +33,3 @@ Currently supporting Amazon Web Services: | ||
Running `npm run create` generates cloud function code: | ||
Running `npm run create` generates cloud function code locally: | ||
@@ -64,4 +64,4 @@ ```bash | ||
- **Create infra** from an `.arc` manifest (makes deletion and re-creation of infrastructure trivial; change regions in minutes) | ||
- **Work locally** while completely offline [IN PROGRESS] (including in memory dynamo instance so its super fast--h/t dynalite!) | ||
- **Deploy in seconds** (setup with `staging` and `production` using a proper environment variable `NODE_ENV`) | ||
- **Work locally** while completely offline with a speedy in memory database | ||
- **Deploy in seconds** with first class support for `staging` and `production` with a proper `NODE_ENV` environment variable | ||
@@ -68,0 +68,0 @@ ## Next Steps |
@@ -10,3 +10,3 @@ # Concepts | ||
We'll revisit these. First lets better understand the problems `architect` aims to solve. | ||
We'll revisit these below. First lets better understand the problems `architect` aims to solve. | ||
@@ -13,0 +13,0 @@ ## New Tech for New Problems |
@@ -5,4 +5,5 @@ # Project Layout | ||
- `arc-create` creates lambda code locally in `./src` for each respective `.arc` declaration | ||
- `arc-deploy` deploys lambda code defined in `.arc` to `staging` and, with an additional manual step, `production` | ||
- `npm run create` creates lambda code locally in `./src` for each respective `.arc` declaration and deploys them immediately to AWS | ||
- `npm run deploy` redeploys lambda code defined by `.arc` to `staging` and, with an additional manual step, `production` | ||
- `npm start` kicks up a local http server and in memory db for code defined by `.arc` with `NODE_ENV` set to `testing` | ||
@@ -46,3 +47,3 @@ Given the following `.arc` file: | ||
- Read up on how lambda functions are authored in the [reference](/reference). | ||
- Skip the reference and check out code [examples](/examples). | ||
- Read up on how lambda functions are authored in the [reference](/reference) | ||
- Skip the reference and check out code [examples](/examples) |
@@ -9,3 +9,3 @@ # Install | ||
npm init --yes | ||
npm install @smallwins/arc-create @smallwins/arc-deploy --save | ||
npm install @architect/workflows --save | ||
touch .arc | ||
@@ -20,3 +20,4 @@ ``` | ||
"create": "AWS_PROFILE=xxx AWS_REGION=us-west-1 arc-create", | ||
"deploy": "AWS_PROFILE=xxx AWS_REGION=us-west-1 arc-deploy" | ||
"deploy": "AWS_PROFILE=xxx AWS_REGION=us-west-1 arc-deploy", | ||
"start": "NODE_ENV=testing arc-sandbox" | ||
} | ||
@@ -23,0 +24,0 @@ ``` |
{ | ||
"name": "@architect/docs", | ||
"version": "30.0.6", | ||
"version": "30.0.7", | ||
"main": "index", | ||
@@ -5,0 +5,0 @@ "scripts": { |
55185