A static site generator for the monthly London React meetup. Allows WYSIWIG creation and deployment of meetup information pages.
This project employs a number of javascript frameworks and approaches, including React, Redux, Redux Forms, DraftJS, Radium, Server-Side Rendering, WebPack, HMR, and utilising EDD (Emoji Driven Development 😱).
Generated pages are deployed to and hosted on AWS S3 buckets.
Before starting, be aware you will require an AWS account to push static pages to the web. AWS will inspect ENV variables for credentials at runtime. Bucket locations are currently hard-coded but will be configurable soonⒸ.
The project requires a number of external services which utilise secret keys and configurations. By default, a file is kept at /.env to contain these details which are loaded as environment variables at run-time. You will have to ask a fellow dev for the file or create one yourself in the following format.
ALLOWED_DOMAIN=<Your email domain you want to allow>
SESSION_SECRET=<Random string for session cookies>
OAUTH_CLIENT_ID=<Google project OAuth Client ID>
OAUTH_SECRET=<Google project OAuth Secret Key>
BUCKET_STAGING=<Name of staging S3 bucket>
BUCKET_LIVE=<Name of live/production S3 bucket>
- Standard start
npm installand wait 🕣 for it to do its thing. npm startto start the node server.- Navigate to http://localhost:8080 to see the site
If you're running with Marcel or Zoë who have access to the default BadgerDev account, you should be able to see the current public staging site here and the live one here.
(Until we go live, which will then be discoverable at 🌟react.london🌟)
Note: Ensure dependencies have been installed as per Dev step 1
npm testruns application testsnpm run test-watchapplies a watcher tonpm testand picks up changes between test runsnpm run test-serverruns server-specific tests