Skip to content

Commit

Permalink
Merge pull request #4668 from opengovsg/form-v2/update-readme
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-guan authored Aug 23, 2022
2 parents 197cc31 + b83172f commit a2376e4
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
- [Features](#features)
- [Local Development (Docker)](#local-development-docker)
- [Prerequisites](#prerequisites)
- [First Setup](#first-setup)
- [Running Locally](#running-locally)
- [Accessing email locally](#accessing-email-locally)
- [Environment variables](#environment-variables)
- [Trouble-shooting](#trouble-shooting)
- [Testing](#testing)
Expand All @@ -20,9 +22,9 @@
- [End-to-end tests](#end-to-end-tests)
- [Architecture](#architecture)
- [MongoDB Scripts](#mongodb-scripts)
- [Maintenance Banners](#maintenance-banners)
- [Contributing](#contributing)
- [Support](#support)
- [Acknowledgements](#acknowledgements)

## Features

Expand All @@ -37,7 +39,7 @@ Notable features include:
- (Singapore government agencies only) Citizen authentication with [SingPass](https://www.singpass.gov.sg/singpass/common/aboutus)
- (Singapore government agencies only) Corporate authentication with [CorpPass](https://www.corppass.gov.sg/corppass/common/aboutus)
- (Singapore government agencies only) Automatic prefill of verified data with [MyInfo](https://www.singpass.gov.sg/myinfo/common/aboutus)
- Webhooks functionality via the official [FormSG JavaScript SDK](https://github.com/opengovsg/formsg-sdk) and contributor-supported [FormSG Ruby SDK] (https://github.com/opengovsg/formsg-ruby-sdk)
- Webhooks functionality via the official [FormSG JavaScript SDK](https://github.com/opengovsg/formsg-sdk) and contributor-supported [FormSG Ruby SDK](<https://github.com/opengovsg/formsg-ruby-sdk>)

The current product roadmap includes:

Expand All @@ -63,6 +65,18 @@ npm install

If you are on Mac OS X, you may want to allow Docker to use more RAM (minimum of 4GB) by clicking on the Docker icon on the toolbar, clicking on the "Preferences" menu item, then clicking on the "Resources" link on the left.

If you are on macOS Monetery or higher, port 5000 is now used by the system. This conflicts with the default port used by the backend. You could either:

- Update the backend ports in these environment variables:
- `Dockerfile.development`
- Update exposed port
- `docker-compose.yml`
- Introduce a new env var `PORT`
- Update `APP_URL`
- `frontend/package.json`
- Update the proxy URL
- [Disable control center](https://apple.stackexchange.com/a/431164)

### Running Locally

Run the following shell command to build the Docker image from scratch. This will usually take 10 or so minutes.
Expand Down

0 comments on commit a2376e4

Please sign in to comment.