Skip to content

Instantly share code, notes, and snippets.

View iamlearning1's full-sized avatar
:octocat:
Focusing

Deepak Kumar iamlearning1

:octocat:
Focusing
  • Madrid
View GitHub Profile
@iamlearning1
iamlearning1 / circleci-2.0-eb-deployment.md
Created November 5, 2019 09:50 — forked from ryansimms/circleci-2.0-eb-deployment.md
Deploying to Elastic Beanstalk via CircleCi 2.0

Deploying to Elastic Beanstalk via CircleCi 2.0

I got to here after spending hours trying to deploy to an Elastic Beanstalk instance via CircleCi 2.0 so I thought I'd write up what worked for me to hopefully help others. Shout out to RobertoSchneiders who's steps for getting it to work with CircleCi 1.0 were my starting point.

For the record, I'm not the most server-savvy of developers so there may be a better way of doing this.

Setup a user on AWS IAM to use for deployments

@iamlearning1
iamlearning1 / package.json
Created September 26, 2019 06:24
Concurrently scripts for running client and server simultaneously
"scripts": {
"start": "node index.js",
"lint": "eslint server/**/*.js",
"start:server": "env-cmd -f .env nodemon server/index.js",
"start:client": "cd client && yarn start",
"dev": "concurrently \"yarn run start:server\" \"yarn run start:client\"",
"build": "cd client && yarn build"
},
@iamlearning1
iamlearning1 / .eslintrc.js
Created September 26, 2019 06:21
Eslint React Rules
module.exports = {
env: {
browser: true,
es6: true,
jest: true
},
extends: 'airbnb',
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'