-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into MigrateDocs
- Loading branch information
Showing
6 changed files
with
81 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# For SQLServer | ||
DATABASE_URL="sqlserver://localhost:1433;database=HIERR;user=sa;password=<YourStrong@Passw0rd>;encrypt=DANGER_PLAINTEXT;" | ||
# For SQLite | ||
# DATABASE_URL="file:./db.sqlite" | ||
NEXTAUTH_URL="http://localhost:3000" | ||
NEXTAUTH_SECRET=DUMMY | ||
EMAIL_SERVER="smtp://localhost:25" | ||
EMAIL_FROM="[email protected]" | ||
NEXT_PUBLIC_POLIS_SURVEYS='[{"id": "yourSurveyID1", "title": "yourSurveyTitle1", "description": "yourSurveyDescription1"}]' | ||
NEXT_PUBLIC_SEARCH_API='{your ArcGIS Search Api Key}' | ||
AUTHORIZED_POLIS_CONVERT_EMAILS_FILE={path to file that contains a list of email addresses (one per line) whose users are authorized to export POLIS data} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,10 +24,8 @@ jobs: | |
cache: "npm" | ||
|
||
- run: npm ci | ||
- name: Make envfile | ||
uses: SpicyPizza/[email protected] | ||
with: | ||
envkey_NEXT_PUBLIC_POLIS_SURVEYS: ${{ secrets.NEXT_PUBLIC_POLIS_SURVEYS }} | ||
- run: SKIP_ENV_VALIDATION=1 npm run build --if-present | ||
- name: Create .env file | ||
run: cp -f .env.example .env | ||
- run: npm run build --if-present | ||
env: | ||
CI: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
lts/hydrogen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
services: | ||
sql: | ||
image: mcr.microsoft.com/mssql/server:2017-latest | ||
environment: | ||
ACCEPT_EULA: Y | ||
MSSQL_SA_PASSWORD: <YourStrong@Passw0rd> | ||
ports: | ||
- 1433:1433 | ||
smtp: | ||
image: rnwood/smtp4dev:v3 | ||
ports: | ||
- 3001:80 | ||
- 25:25 | ||
environment: | ||
- ServerOptions__HostName=smtp4dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters