Front-end client of the game-bros.net website, bootstrapped with Create React App. Site content is managed through Contentful.
To install dependencies, run:
$ npm install
Before running the app you need to set up a few environment variables. This can be achieved by adding .env.development file to the root of the project. Example of the required variables can be found from .env.example. The required values can be found from Api keys section of the Contentful space settings. Never commit these values to git.
To start local development server, run:
$ npm start
Open http://localhost:3000 to view it in the browser.
After updating content models in the Contentful space, the schema needs to be updated to the app. To update schema, run:
$ npm run codegen
Schema should never be updated manually. Always use the above script to generate new schema.
GameBros website is automatically built and deployed to Netlify. You can learn more about Netlify from their website.
Build command:
$ npm run build
Build folder: build