This project depends on covid-19-api.
To install all the dependencies, use npm
.
$ npm install
To launch a development server, run the following command.
$ npm run dev
where API_URL
is the root end-point of the API server.
By default, this command will serve the website from localhost:3000
in a development mode.
Run the following command.
$ npm run build
This command builds a website to serve with a Node.js server.
To serve the website with a normal (static file) web server, export the built files by the following command.
$ npm run export
This command creates files under the out
directory.
To develop the website, put .evn.local
on the root of the project.
NEXT_PUBLIC_API_URL=https://xxx.jp/xxx
NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN=xxxxxxxxxxxxx
- Feature branches are first merged into "staging" (or release, development) branch.
- Then the staging branch is merged into "master" branch, which is for production release.