- Docker installed
- Clone the repository:
git clone https://ops.nccsoft.vn/DefaultCollection/MezonVirtualHub/_git/MezonVirtualHub_BE
- Navigate to the project directory:
cd MezoneVirtualHub_BE
- Create .env file: (sample in .env.sample)
- Install node version 22.
- Install postgres server local.
- Create .env file for each folder (frontend and backend, follow the sample in .env.sample)
- Run
yarn
- Change workdir to the directory you wanna run and run
yarn dev
-
Start the development server:
If you're using docker-compose:
docker-up.sh --build --debug
If you're using docker core (
docker compose
):docker-up.sh --build --debug --core
-
Open your browser and go to
http://localhost:8123
(backend).
-
Start the production server:
If you're using docker-compose:
docker-up.sh --build
If you're using docker core (
docker compose
):docker-up.sh --build --core
-
Open your browser and go to
http://localhost:8778
(backend).
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch
- Make your changes and commit them:
git commit -m "Description of changes"
- Push to the branch:
git push origin feature-branch
- Open a pull request.
This project is licensed under the MIT License.