🚧 under construction 🚧
This project is split into two parts: a React client, and an Express and TypeORM server.
To start: cd release-calendar && npm install
To build and run the app for production: npm run start
- This serves the client and backend on
ENV.SERVER_ENDPOINT
To build and serve the client for development: npm run client
- Make sure to set
ENV.NODE_ENV
to anything butproduction
- This uses webpack dev server for hot reloading
- This uses React's development build from your local node_modules folder
To build the client for production: npn run client-build-prod
- Make sure to set
ENV.NODE_ENV
toproduction
- This uses React's production build
To generate test data: npm run setup
To build the server: npm run server-build
To serve the server: npm run server-serve
To build and serve the server: npm run server
To run tests: npm run test
To lint: npm run lint
- Install MySQL for a local database. Add
ONLY_FULL_GROUP_BY
to@@SQL_MODE
- Add a
.env
file to the root directory. See.env.example
for the required variables and replace values with your own. - Run
npm run server
to connect to the database and start the API server. - In a different terminal, run
npm run client
to start the client.
- Create a tag:
git tag deploy-release-calendar-<date>
where<date>
is in YYMMDDHHmmss. This can be done easily withnpm run deploy-tag
. - Push the tag to remote:
git tag <remote> deploy-release-calendar-<date>
where<remote>
is[email protected]:ampproject/amp-github-apps.git
or an alias, likelyupstream