Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
maidul98 committed Dec 4, 2022
2 parents fe15af4 + 986a944 commit 5f2d305
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ We're currently setting the foundation and building [integrations](https://infis
</tr>
<tr>
<td align="left" valign="middle">
🔜 Vercel
🔜 Vercel (https://github.com/Infisical/infisical/issues/60)
</td>
<td align="left" valign="middle">
🔜 GitLab CI/CD
Expand Down
22 changes: 6 additions & 16 deletions frontend/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"extends": "next/core-web-vitals",
"plugins": [
"simple-import-sort"
],
"extends": ["next/babel", "next/core-web-vitals"],
"plugins": ["simple-import-sort"],
"rules": {
"react-hooks/exhaustive-deps": "off",
"simple-import-sort/exports": "warn",
Expand All @@ -18,15 +16,9 @@
"^(assert|buffer|child_process|cluster|console|constants|crypto|dgram|dns|domain|events|fs|http|https|module|net|os|path|punycode|querystring|readline|repl|stream|string_decoder|sys|timers|tls|tty|url|util|vm|zlib|freelist|v8|process|async_hooks|http2|perf_hooks)(/.*|$)"
],
// Packages `react` related packages
[
"^react",
"^next",
"^@?\\w"
],
["^react", "^next", "^@?\\w"],
// Internal packages.
[
"^~(/.*|$)"
],
["^~(/.*|$)"],
// Relative imports
[
"^\\.\\.(?!/?$)",
Expand All @@ -36,11 +28,9 @@
"^\\./?$"
],
// Style imports.
[
"^.+\\.?(css|scss)$"
]
["^.+\\.?(css|scss)$"]
]
}
]
}
}
}
18 changes: 10 additions & 8 deletions frontend/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
This is the client repository for Infisical.

## Before you get started with development locally
## Before you get started with development locally

Please ensure you have Docker and Docker Compose installed for your OS.

### Steps to start server
### Steps to start server

- `CD` into the repo
- run command `docker-compose -f docker-compose.dev.yml up --build --force-recreate`
- Vist localhost:3000 and the website should be live
- Visit localhost:3000 and the website should be live

### Steps to shutdown this Docker compose

### Steps to shutdown this Docker compose
- `CD` into this repo
- run command `docker-compose -f docker-compose-dev.yml down`
- run command `docker-compose -f docker-compose.dev.yml down`

### Notes
Any changes made to local files in the `/components`, `/pages`, `styles` will be hot reloaded. If would like like to watch for other files or folders live, please add them to the docker volume.

You will also need to ensure that a .env.local file exists with all required environment variables

Any changes made to local files in the `/components`, `/pages`, `/styles` will be hot reloaded. If would like like to watch for other files or folders live, please add them to the docker volume.

You will also need to ensure that a .env.local file exists with all required environment variables
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5f2d305

Please sign in to comment.