Skip to content

Commit

Permalink
chore: add missing env variables on build pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelovicentegc committed Oct 15, 2023
1 parent 0854813 commit 3a5c964
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create mocked .env.local with required variables
run: |
echo MONGODB_URI=mongodb://mongo > .env.local
echo MONGODB_DB=mongodb >> .env.local
echo ENCRYPTION_KEY=encryption_key >> .env.local
- uses: oven-sh/setup-bun@v1
with:
bun-version: 1
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

## Development

Create a `.env.local` file based on the [`.env.example`](.env.example) file. You will need access to a SMTP server credentials and to set up an encryption key to spin this service. You can generate a key using the following command:
Create a `.env.local` file based on the [`.env.example`](.env.example) file. You will need access to a SMTP server credentials, a MongoDB instance and to set up an encryption key to spin this service. You can generate a key using the following command:

```sh
openssl rand -base64 32
Expand All @@ -30,6 +30,12 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the

## Deployment

This project is deployed using [Vercel](https://vercel.com/). You can deploy your own instance using the button below:
Before deploying this service, make sure you have access to a:
- SMTP server
- MongoDB instance

Take a look at the `.env.example` file to see which environment variables you need to set up.

This project is deployed using [Vercel](https://vercel.com/). You can deploy your own instance using the button below (feel free to deploy it anywhere else):

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/eutiveumsonho/hitl)

0 comments on commit 3a5c964

Please sign in to comment.