Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Latest commit

 

History

History
80 lines (55 loc) · 2.03 KB

README.md

File metadata and controls

80 lines (55 loc) · 2.03 KB

react.london

CircleCI Coveralls Code Climate

A site for the React London community & conference.

This project employs a number of Javascript libraries and approaches, including React, Server-Side Rendering, GraphQL, and WebPack.

Most importantly, we're utilising GDD (Gif Driven Development).

Getting started

Dev

npm install npm@latest -g

Add these lines to your hosts file

127.0.0.1	dev.react.london
127.0.0.1	meetup-dev.react.london

Then you can access the community site from meetup-dev.react.london:8080 and the conference site from dev.react.london:8080.

Create a .env file with contents provided by an admin or copy from .env.example.

# Install the dependencies
npm install

# Print task help
make

# Run the dev frontend compiler
make build

# Run the dev server
# (make build must be running)
make start

# Run the tests
make test
make test-watch
make lint

Deployment

The site is compiled to a docker image and deployed to AWS Elastic Beanstalk.

The docker images are built from the master branch on CI, and are automatically deployed to staging.

Once built versions can be manually deployed using either the Elastic Beanstalk Application Versions section of the AWS web console, or with the commands below:

# Deploy the current commit to staging
make deploy-staging
# Deploy the current commit to production
make deploy-production