From eaa12ac84a7908ea620af9d0a2b3bd559669c842 Mon Sep 17 00:00:00 2001 From: Adam Wardecki Date: Mon, 21 May 2018 11:04:13 +0200 Subject: [PATCH 1/2] chore: ignore docs lib and test folders across all packages --- codecov.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/codecov.yml b/codecov.yml index 81ab1a8a..fcd6d4f8 100644 --- a/codecov.yml +++ b/codecov.yml @@ -25,7 +25,11 @@ parsers: javascript: enable_partials: false ignore: - - test - - lib + - docs + - packages/tests + - packages/**/tests + - packages/**/lib + - packages/**/docs + - packages/**/test.js - packages/**/jest.config.js - packages/**/webpack.config.js From d175cfaad73710c87fe13a8455d69a6349ba4cf9 Mon Sep 17 00:00:00 2001 From: Adam Wardecki Date: Mon, 21 May 2018 12:28:33 +0200 Subject: [PATCH 2/2] docs(cookbook): Add aws-ethereum, aws-node and aws-wordpress cookbooks from aexol. --- docs/cookbook/web/_sidebar.md | 4 +++ docs/cookbook/web/solutions/aws-ethereum.md | 35 ++++++++++++++++++ docs/cookbook/web/solutions/aws-node.md | 38 ++++++++++++++++++++ docs/cookbook/web/solutions/aws-wordpress.md | 38 ++++++++++++++++++++ 4 files changed, 115 insertions(+) create mode 100644 docs/cookbook/web/solutions/aws-ethereum.md create mode 100644 docs/cookbook/web/solutions/aws-node.md create mode 100644 docs/cookbook/web/solutions/aws-wordpress.md diff --git a/docs/cookbook/web/_sidebar.md b/docs/cookbook/web/_sidebar.md index 1824eeee..894d0640 100644 --- a/docs/cookbook/web/_sidebar.md +++ b/docs/cookbook/web/_sidebar.md @@ -18,6 +18,10 @@ - Complete solutions - Bots - [Facebook Weather Bot](/solutions/weather-bot) + - AWS + - [Wordpress on Lightsail](/solutions/aws-wordpress) + - [NodeJS on Lightsail](/solutions/aws-node) + - [Ethereum on Lightsail](/solutions/aws-ethereum) - Deployment - [Deploying projects using CircleCI](/deployment/circle-ci) - [Creating project template](/deployment/create-project-template) diff --git a/docs/cookbook/web/solutions/aws-ethereum.md b/docs/cookbook/web/solutions/aws-ethereum.md new file mode 100644 index 00000000..dcd5c83d --- /dev/null +++ b/docs/cookbook/web/solutions/aws-ethereum.md @@ -0,0 +1,35 @@ +# AWS Ethereum + +- Preparation: **1 minute** +- Requirements: + - Initiated Syncano project + - config with [aws-config](/solutions/aws-config) +- Sockets: + - [aws-ethereum](https://syncano.io/#/sockets/aws-ethereum) + + +### Problem to Solve + +Configuring, and setting up an Ethereum network can take a lot of time and effort. + + +### Solution + +This socket launches an Ethereum network on an Amazon ECS cluster or an Amazon EC2 instance. It also deploys additional required components. + +## Installing dependencies + +If you haven't done that already, please [configure](/solutions/aws-config) your Syncano instance + +To install `aws-ethereum` type: + +```sh +$ npx s add aws-ethereum +$ npx s deploy +``` + +## Testing functionality + +Now you can start creating your fabulous dApp on Ethereum blockchain. For additional info, see: +- AWS docs for more on [instance configuration](https://docs.aws.amazon.com/blockchain-templates/latest/developerguide/blockchain-templates-ethereum.html) +- Docs of the latest [Ethereum](http://www.ethdocs.org/en/latest/) release diff --git a/docs/cookbook/web/solutions/aws-node.md b/docs/cookbook/web/solutions/aws-node.md new file mode 100644 index 00000000..2cb6d3ae --- /dev/null +++ b/docs/cookbook/web/solutions/aws-node.md @@ -0,0 +1,38 @@ +# AWS NodeJS + +- Preparation: **1 minute** +- Requirements: + - Initiated Syncano project + - config with [aws-config](/solutions/aws-config) +- Sockets: + - [aws-node](https://syncano.io/#/sockets/aws-node) + +### Problem to Solve + +Configuring, and setting up NodeJS on a dedicated virtual private server can take a lot of time and effort. + +### Solution + +This socket enables quick and effortless configuration of NodeJS with an Amazon Lightsail instance. + +## Installing dependencies + +If you haven't done that already, please [configure](/solutions/aws-config) your Syncano instance + +To install `aws-node` type: +```sh +$ npx s add aws-node +$ npx s deploy +``` + +## Done! + +To create a NodeJS server on AWS Lightsail, call the create-ls-instance endpoint + +```sh +$ npx s call aws-node/create-ls-instance +``` + +## Testing functionality + +Now you can start creating your NodeJS application. diff --git a/docs/cookbook/web/solutions/aws-wordpress.md b/docs/cookbook/web/solutions/aws-wordpress.md new file mode 100644 index 00000000..bc0ee45b --- /dev/null +++ b/docs/cookbook/web/solutions/aws-wordpress.md @@ -0,0 +1,38 @@ +# AWS S3 Wordpress + +- Preparation: **1 minute** +- Requirements: + - Initiated Syncano project + - config with [aws-config](/solutions/aws-config) +- Sockets: + - [aws-wordpress](https://syncano.io/#/sockets/aws-wordpress) + +### Problem to Solve + +Configuring, and setting up WordPress on a dedicated virtual private server can take a lot of time and effort. + +### Solution + +This socket enables quick and effortless configuration of a WordPress service with an Amazon Lightsail instance. + + +## Installing dependencies + +If you haven't done that already, please [configure](/solutions/aws-config) your Syncano instance. + +To install `aws-wordpress` type: +```sh +$ npx s add aws-wordpress +$ npx s deploy +``` + +## Done! + +Call the create-ls-instance endpoint +```sh +$ npx s call aws-wordpress/create-ls-instance +``` + +## Testing functionality + +Now you can login to your WordPress instance and start creating your fabulous WordpPress service.