Nabarun Gogoi
2a35ec1cd5
All checks were successful
Lint / lint (20.x) (push) Successful in 4m59s
Part of [Service provider auctions for web deployments](https://www.notion.so/Service-provider-auctions-for-web-deployments-104a6b22d47280dbad51d28aa3a91d75) - Use deployer API to get status of the deployments Co-authored-by: Shreerang Kale <shreerangkale@gmail.com> Co-authored-by: IshaVenikar <ishavenikar7@gmail.com> Co-authored-by: Adw8 <adwaitgharpure@gmail.com> Reviewed-on: #15 Co-authored-by: Nabarun Gogoi <nabarun@deepstacksoft.com> Co-committed-by: Nabarun Gogoi <nabarun@deepstacksoft.com> |
||
---|---|---|
.. | ||
.storybook | ||
public | ||
src | ||
.env.example | ||
.eslintrc.cjs | ||
.gitignore | ||
.node-version | ||
.prettierignore | ||
.prettierrc.json | ||
chromatic.config.json | ||
index.html | ||
package.json | ||
postcss.config.js | ||
README.md | ||
reload-dev.sh | ||
tailwind.config.js | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts |
frontend
This is a vite react nextjs project in a yarn workspace.
Getting Started
Install dependencies
In the root of the project, run:
yarn
Build backend
yarn build --ignore frontend
Environment variables
Local
Copy the .env.example
file to .env
:
cp .env.example .env
Staging environment variables
Change in deployer/deploy-frontend.staging.sh
Production environment variables
Change in deployer/deploy-frontend.sh
Run development server
yarn dev
Deployment
From the root of the project,
Staging
cd packages/deployer && ./deploy-frontend.staging.sh
Production
cd packages/deployer && ./deploy-frontend.sh
Deployment status
Check the status of the deployment here