Diarybunda DOCS
Home
Api Documentations
  • Admin Service
  • Alodokter Service
  • Alodokter User Encrypted Service
  • Artikel Service
  • Auth Service
  • Core Service
  • Community Service
  • Notification Service
  • Survey Service
  • Promo Service FE
Api Reference
  • Admin Service
  • Alodokter Service
  • Alodokter User Encrypted Service
  • Artikel Service
  • Auth Service
  • Core Service
  • Community Service
  • Notification Service
  • Survey Service
Changelog Releases
  • Admin Service
  • Alodokter Service
  • Alodokter User Encrypted Service
  • Artikel Service
  • Auth Service
  • Core Service
  • Community Service
  • Notification Service
  • Survey Service
About
Home
Api Documentations
  • Admin Service
  • Alodokter Service
  • Alodokter User Encrypted Service
  • Artikel Service
  • Auth Service
  • Core Service
  • Community Service
  • Notification Service
  • Survey Service
  • Promo Service FE
Api Reference
  • Admin Service
  • Alodokter Service
  • Alodokter User Encrypted Service
  • Artikel Service
  • Auth Service
  • Core Service
  • Community Service
  • Notification Service
  • Survey Service
Changelog Releases
  • Admin Service
  • Alodokter Service
  • Alodokter User Encrypted Service
  • Artikel Service
  • Auth Service
  • Core Service
  • Community Service
  • Notification Service
  • Survey Service
About
    • Diarybunda Documentation
    • Project Deployment
    • Required Dependencies
    • Help Center
      • About
      • FAQ

    Required Dependencies

    JAVA#

    install Java 11 and 17 on your computer:
    1.
    Go to the Java SE 17 Archive Downloads page and download the JDK for your operating system.
    2.
    Once the download is complete, run the installer.
    3.
    Follow the on-screen instructions to complete the installation.
    4.
    To verify that the JDK has been installed correctly, open a command prompt and type the following command:
    You should see the version of Java that is installed on your computer.
    Once you have installed Java 11 and 17, you can choose which version you want to use when running Java applications. To do this, set the JAVA_HOME environment variable to the directory where the JDK is installed. For example, if you installed Java 11 in the /opt/java/jdk-11 directory, you would set the JAVA_HOME environment variable as follows:
    Now, when you run the java command, Java 11 will be used

    GOLANG#

    1.
    Download the Golang 1.18.5 .msi file from the Golang download page: https://go.dev/dl/
    2.
    Open the MSI file you downloaded and follow the prompts to install Go.
    By default, the installer will install Go to Program Files or Program Files (x86). You can change the location as needed. After installing, you will need to close and reopen any open command prompts so that changes to the environment made by the installer are reflected at the command prompt.
    3.
    To verify that Golang has been installed correctly, open a command prompt and type the following command

    DOCKER#

    for windows:
    1.
    download installer docker dekstop https://docs.docker.com/desktop/install/windows-install/
    2.
    Double-click Docker Desktop Installer.exe to run the installer.
    3.
    When prompted, ensure the Use WSL 2 instead of Hyper-V option on the Configuration page is selected or not depending on your choice of backend.
    4.
    Follow the instructions on the installation wizard to authorize the installer and proceed with the install.

    KAFKA#

    1.
    Create a directory named kafka
    2.
    Create a file called docker-compose.yml in the directory kafka
    3.
    In the docker-compose.yml file, add the following configuration:
    4.
    Save the docker-compose.yml file.
    5.
    In a terminal window, navigate to the directory where the docker-compose.yml file is located.
    6.
    Run the following command to start the Docker Compose application:

    REDIS#

    1.
    Create a directory named redis
    2.
    Create a file called docker-compose.yml in the directory kafka
    3.
    In the docker-compose.yml file, add the following configuration:
    4.
    Save the docker-compose.yml file.
    5.
    In a terminal window, navigate to the directory where the docker-compose.yml file is located.
    6.
    Run the following command to start the Docker Compose application:

    ELASTICSEARCH#

    1.
    Create a directory named elastic
    2.
    Create a file called docker-compose.yml in the directory kafka
    3.
    In the docker-compose.yml file, add the following configuration:
    4.
    Save the docker-compose.yml file.
    5.
    In a terminal window, navigate to the directory where the docker-compose.yml file is located.
    6.
    Run the following command to start the Docker Compose application:

    POSTGRESQL#

    for windows:
    1.
    Download PostgreSQL Installer for Windows https://www.postgresql.org/download/
    2.
    Double-click on the .msi file to start the installation.
    3.
    Follow the on-screen instructions to complete the installation.

    MONGODB#

    1.
    Go to the MongoDB download page: https://www.mongodb.com/try/download/community
    2.
    Click on the "Download for Windows" button.
    3.
    A .msi file will be downloaded to your computer.
    4.
    Double-click on the .msi file to start the installation.Follow the on-screen instructions to complete the installation.
    5.
    Once the installation is complete, you can start using MongoDB by opening the MongoDB shell.
    Modified at 2023-07-26 07:45:14
    Previous
    Project Deployment
    Next
    About
    Built with