Skip to content

perseids-project/perseids-landing

Repository files navigation

Perseids Landing

The perseids.org homepage.

Installation

yarn install

Running the development server

yarn start

Building for deployment

Before creating a production build you need to know the path where it will be accessed. Then run the command PUBLIC_URL='./path/of/app' yarn build. This will generate a set of static files in the build/ directory that you can serve.

For example, if you want to deploy it at www.example.com/ then run PUBLIC_URL='./' yarn build. If you want to deploy it at www.example.com/homepage then run PUBLIC_URL='./homepage' yarn build.

Running tests

yarn test

Linting the code

yarn lint

Deploying a new version to github.io

yarn deploy-github

Deploying a new version to www.perseids.org

yarn deploy-perseids