.. | ||
public | ||
src | ||
.babelrc | ||
.gitignore | ||
.gitlab-ci.yml | ||
.linguirc | ||
.prettierignore | ||
.prettierrc | ||
deploy.sh | ||
Dockerfile | ||
Dockerfile- | ||
index.html | ||
nginx.conf | ||
package-lock.json | ||
package.json | ||
readme.md | ||
run.sh | ||
sonar-project.properties | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts |
Run the project COPEN-FE
-
How to clone the project:
git clone http://code.sdsrv.vn/c-ope2n/frontend.git
-
Change to working directory: Open the downloaded project via terminal then re-direct to the
frontend
folder and switch to thedevelop
branch:cd frontend
git checkout develop
-
Install packages: Install needed packages/dependencies for running the** project (We need to manually run this every time we add a new dependency to the
package.json
file).npm i
-
Start project in developer mode:
npm start
-
Environment variables in
.env
file:- Development port: VITE_PORT
- Backend API: VITE_PROXY