infra-webiny/site
Jakub Sokołowski 641b67f92d
add webiny setup under site
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-18 13:40:03 +02:00
..
api add webiny setup under site 2020-06-18 13:40:03 +02:00
apps add webiny setup under site 2020-06-18 13:40:03 +02:00
scripts add webiny setup under site 2020-06-18 13:40:03 +02:00
types/apps add webiny setup under site 2020-06-18 13:40:03 +02:00
.babel.node.js add webiny setup under site 2020-06-18 13:40:03 +02:00
.babel.react.js add webiny setup under site 2020-06-18 13:40:03 +02:00
.eslintignore add webiny setup under site 2020-06-18 13:40:03 +02:00
.eslintrc.js add webiny setup under site 2020-06-18 13:40:03 +02:00
.gitattributes add webiny setup under site 2020-06-18 13:40:03 +02:00
.gitignore add webiny setup under site 2020-06-18 13:40:03 +02:00
.prettierrc.js add webiny setup under site 2020-06-18 13:40:03 +02:00
README.md add webiny setup under site 2020-06-18 13:40:03 +02:00
babel.config.js add webiny setup under site 2020-06-18 13:40:03 +02:00
example.env.json add webiny setup under site 2020-06-18 13:40:03 +02:00
jest.config.base.js add webiny setup under site 2020-06-18 13:40:03 +02:00
jest.config.js add webiny setup under site 2020-06-18 13:40:03 +02:00
lerna.json add webiny setup under site 2020-06-18 13:40:03 +02:00
package.json add webiny setup under site 2020-06-18 13:40:03 +02:00
tsconfig.build.json add webiny setup under site 2020-06-18 13:40:03 +02:00
tsconfig.json add webiny setup under site 2020-06-18 13:40:03 +02:00
webiny.js add webiny setup under site 2020-06-18 13:40:03 +02:00
webiny.root.js add webiny setup under site 2020-06-18 13:40:03 +02:00

README.md

Description

This repo configures a Status CMS using Webiny hosted at https://get.status.im/.

Configuration

To start working you'll need to configure awscli:

 $ aws configure
AWS Access Key ID [None]: <ACCESS_KEY>
AWS Secret Access Key [None]: <SECRET_KEY>
Default region name [None]: eu-central-1
Default output format [None]:

And create an .env.json file based off of example.env.json You will need to provide a valid value for MONGODB_SERVER which should take the form of a Mongo URI. The default value for AWS_PROFILE is fine most of the time unless you used the --profile flag.

For more details see the official documentation.

Deployment

To deploy a dev environment use:

yarn run webiny deploy-api --env=prod
yarn run webiny deploy-apps --env=prod

You can do the same for the prod env.

Infrastructure

The infra for this service is managed in the infra-webiny repository.