Skip to content

Commit

Permalink
Merge pull request #15 from privacy-scaling-explorations/rm
Browse files Browse the repository at this point in the history
chore: remove unnecessary values
  • Loading branch information
ctrlc03 committed Apr 20, 2023
2 parents df237b2 + e477942 commit c16be2e
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy GitHub Pages
run-name: Deploy Github Pages
on:
push:
branches: ["dev"]
branches: ["dev", "main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ coverage/
# docs
docs/*
!docs/CNAME
!docs/index.html
!docs/index.html


*.env
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"build": "yarn workspaces foreach -t run build",
"test": "yarn test:dev",
"test:dev": "NODE_ENV=dev yarn workspace @p0tion/backend emulator:exec-test",
"test:prod": "yarn workspace @p0tion/actions test:contracts && GOOGLE_APPLICATION_CREDENTIALS=\"./packages/backend/serviceAccountKey.json\" && NODE_ENV=prod jest --config=jest.json --detectOpenHandles --forceExit --runInBand --coverage",
"test:ci-prod": "NODE_ENV=prod jest --config=jest.json --detectOpenHandles --forceExit --runInBand --coverage=true",
"test:prod": "yarn workspace @p0tion/actions test:contracts && GOOGLE_APPLICATION_CREDENTIALS=\"./packages/backend/serviceAccountKey.json\" && NODE_ENV=prod jest --config=jest.json --detectOpenHandles --forceExit --runInBand",
"test:ci-prod": "NODE_ENV=prod jest --config=jest.json --detectOpenHandles --forceExit --runInBand",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"prettier": "prettier -c .",
Expand Down
11 changes: 4 additions & 7 deletions packages/actions/.env.default
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
# This environemnt must be configured both for core functionalities and testing.
# The tests can be executed against a pre-deployed Firebase instance or
# The tests can be executed against a pre-deployed Firebase instance or
# locally on your machine using the Firebase emulator.

### FIREBASE ###
### These configs are related to the configuration of the Firebase services.

# The URL to Firestore database instance used for the application (should point to default).
# nb. this is going to be auto-generated when creating a new application.
FIREBASE_FIRESTORE_DATABASE_URL="YOUR-APPLICATION-NAME.firebaseio.com"
# The Firebase Application API key for making request against the services.
# nb. this is going to be auto-generated when creating a new application.
FIREBASE_API_KEY="YOUR-FIREBASE-API-KEY"
Expand All @@ -23,7 +20,7 @@ FIREBASE_MESSAGING_SENDER_ID="YOUR-MESSAGING-SENDER-ID"
# nb. this is going to be auto-generated when creating a new application.
FIREBASE_APP_ID="YOUR-APP-ID"
# The Firebase Cloud Function direct URL to call verifycontribution() V2 CF.
# nb. this is necessary due to Version 2 of Cloud Functions which requires direct link to enble HTTPs callable functionalities.
# nb. this is necessary due to Version 2 of Cloud Functions which requires direct link to enble HTTPs callable functionalities.
FIREBASE_CF_URL_VERIFY_CONTRIBUTION="YOUR-VERIFY-CONTRIBUTION-CF-URL"

### AWS S3 STORAGE ###
Expand All @@ -37,7 +34,7 @@ CONFIG_STREAM_CHUNK_SIZE_IN_MB=50
# The postfix string for each ceremony bucket.
# default "-ph2-ceremony"
CONFIG_CEREMONY_BUCKET_POSTFIX="-ph2-ceremony"
# The amount of time in seconds which indicates the duration about the validity of a pre-signed URL.
# The amount of time in seconds which indicates the duration about the validity of a pre-signed URL.
# default: 7200 seconds = 2 hours.
CONFIG_PRESIGNED_URL_EXPIRATION_IN_SECONDS=7200
# AWS S3 access keys only required for unit/e2e testing (can be ommited)
Expand Down Expand Up @@ -74,4 +71,4 @@ AUTH_GMAIL_CLIENT_SECRET="GMAIL-CLIENT-SECRET"
AUTH_GMAIL_REDIRECT_URL="GMAIL-REDIRECT-URL"
# The GMail APIs refresh token associated with the Google account.
# nb. you should enable GMail APIs manually.
AUTH_GMAIL_REFRESH_TOKEN="GMAIL-REFRESH-TOKEN"
AUTH_GMAIL_REFRESH_TOKEN="GMAIL-REFRESH-TOKEN"
1 change: 0 additions & 1 deletion packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"firebase:deploy": "yarn firestore:get-indexes && firebase deploy --project prod",
"firebase:deploy-functions": "firebase deploy --only functions --project prod",
"firebase:deploy-firestore": "yarn firestore:get-indexes && firebase deploy --only firestore --project prod",
"firebase:deploy-storage": "firebase deploy --only storage --project prod",
"firebase:log-functions": "firebase functions:log --project prod",
"firestore:get-indexes": "firebase firestore:indexes --project prod > firestore.indexes.json",
"emulator:serve": "yarn build && firebase emulators:start",
Expand Down
9 changes: 3 additions & 6 deletions packages/phase2cli/.env.default
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
### FIREBASE ###
### These configs are related to the configuration of the Firebase services.

# The URL to Firestore database instance used for the application (should point to default).
# nb. this is going to be auto-generated when creating a new application.
FIREBASE_FIRESTORE_DATABASE_URL="YOUR-APPLICATION-NAME.firebaseio.com"
# The Firebase Application API key for making request against the services.
# nb. this is going to be auto-generated when creating a new application.
FIREBASE_API_KEY="YOUR-FIREBASE-API-KEY"
Expand All @@ -19,7 +16,7 @@ FIREBASE_MESSAGING_SENDER_ID="YOUR-MESSAGING-SENDER-ID"
# nb. this is going to be auto-generated when creating a new application.
FIREBASE_APP_ID="YOUR-APP-ID"
# The Firebase Cloud Function direct URL to call verifycontribution() V2 CF.
# nb. this is necessary due to Version 2 of Cloud Functions which requires direct link to enble HTTPs callable functionalities.
# nb. this is necessary due to Version 2 of Cloud Functions which requires direct link to enble HTTPs callable functionalities.
FIREBASE_CF_URL_VERIFY_CONTRIBUTION="YOUR-VERIFY-CONTRIBUTION-CF-URL"

### AUTHENTICATION ###
Expand All @@ -39,6 +36,6 @@ CONFIG_STREAM_CHUNK_SIZE_IN_MB=50
# The postfix string for each ceremony bucket.
# default "-ph2-ceremony"
CONFIG_CEREMONY_BUCKET_POSTFIX="-ph2-ceremony"
# The amount of time in seconds which indicates the duration about the validity of a pre-signed URL.
# The amount of time in seconds which indicates the duration about the validity of a pre-signed URL.
# default: 7200 seconds = 2 hours.
CONFIG_PRESIGNED_URL_EXPIRATION_IN_SECONDS=7200
CONFIG_PRESIGNED_URL_EXPIRATION_IN_SECONDS=7200

0 comments on commit c16be2e

Please sign in to comment.