Skip to content

mezonai/mezon-virtual-hub

Repository files navigation

Mezon Virtual Hub BE

Prerequisites

  • Docker installed

Installation

  1. Clone the repository:
    git clone https://ops.nccsoft.vn/DefaultCollection/MezonVirtualHub/_git/MezonVirtualHub_BE
  2. Navigate to the project directory:
    cd MezoneVirtualHub_BE
  3. Create .env file: (sample in .env.sample)

Usage (Manual)

  1. Install node version 22.
  2. Install postgres server local.
  3. Create .env file for each folder (frontend and backend, follow the sample in .env.sample)
  4. Run yarn
  5. Change workdir to the directory you wanna run and run yarn dev

Usage (Docker)

Development mode

  1. 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
  2. Open your browser and go to http://localhost:8123 (backend).

Production mode

  1. 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
  2. Open your browser and go to http://localhost:8778 (backend).

Contributing

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature-branch
  3. Make your changes and commit them:
    git commit -m "Description of changes"
  4. Push to the branch:
    git push origin feature-branch
  5. Open a pull request.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8

Languages