Skip to content

Commit

Permalink
chore: 🔨 manage env with dotenv vault
Browse files Browse the repository at this point in the history
  • Loading branch information
moinulmoin committed Dec 30, 2023
1 parent e0e682a commit 548b459
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .env.vault
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#/-------------------.env.vault---------------------/
#/ cloud-agnostic vaulting standard /
#/ [how it works](https://dotenv.org/env-vault) /
#/--------------------------------------------------/

# production
DOTENV_VAULT_PRODUCTION="wOnZOQxHcggPZLXlhbGJjLiJoCkyrqVn2eyFfdA2h6owapLexWX+HXV6NR3nMroU9RSG0OoqG7TF2OGidvimIMaHqrbq5f5vGoAyPgdpEs0TlmDnAQ1EdsONezWsAcrdwuBpXESbjWXGqilCBmQvwXtmNjXpuBZnKTMyBIZaVEn7TaX4AXdcbMzXuW84z85a21IAPKazBXJ8umQgJSin718Sa0AkRZ+m3q4cxORkieHLuyi9zvoFo5CdR8VeoiUE/iyAiI9vARQtLXULsdlx9nDX1WHXLlmq4ipYKM3WS5o3Y0B+5M1OjiyQE9gQhkVEDXT3zEjYJacAQwQEpyQWdwvJlBrT2Ds2eU5pkUH+7o972J4CnsHlZ5pErzIrK4My3sgGwOo2V0iZOPrhpkGuvL+ANW6m4IHs7ZJphQiM4Xy8/8zjVwhiOxPOafhF278U88oOUC3X1pQ9KKLPfJ1qG9Z/cOqFQeNvSA4UeqbVoKv0nXRlKr6QF7iNkwGZJ/aQYGhDBd7oanRVla/w8wjFCYpG+n62iW3WIm1bQePTjOyefuix5Pufs5Pz9OsO0nuTDmVIQVSl1jHjcpjFqa+IKZ6EcZDDDVf+9phRlBjQJ1KOurBKS8rieLBGnMHUU8RRkgVno6PPIsCMANwDIIoEWAZOXRP15pKQtrdveuqB5o8GTM+2jfprmDvi3nwpb0beCsludkI+M8GNap14ASD8KVPg1/XK4UvyXT25stIKru+XxUgOV4PPGWrgI2j6mDmBYkdJqK4yByRbNeQ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VAULT_DEVELOPMENT_VERSION=7

#/----------------settings/metadata-----------------/
DOTENV_VAULT="vlt_e36ffc3f8b8964da1fad7595c7cf6d75623620036e796b8ca0b3b755c6582431"
DOTENV_API_URL="https://vault.dotenv.org"
DOTENV_CLI="npx dotenv-vault@latest"
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@ next-env.d.ts
# worker
sw.*
workbox-*.*
.react-email
.react-email
.env*
.flaskenv*
!.env.project
!.env.vault
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Save time and effort, and build performant apps with an excellent developer expe
1. Clone the repo.
2. Install dependencies: `pnpm install`
3. Copy `.env.example` file to `.env` file. then follow the instructions inside.
4. Run `pnpm prisma db push`
5. Start the dev server: `pnpm dev`

### Or
Expand Down

1 comment on commit 548b459

@vercel
Copy link

@vercel vercel bot commented on 548b459 Dec 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.