Skip to content

game-bros/website

Repository files navigation

GameBros

Front-end client of the game-bros.net website, bootstrapped with Create React App. Site content is managed through Contentful.

Getting Started

Prequisites

Installation

To install dependencies, run:

$ npm install

Environment variables

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.

Development

Running local development server

To start local development server, run:

$ npm start

Open http://localhost:3000 to view it in the browser.

Updating contentful schema

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.

Deployment

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

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors