Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Installation (via Docker) Instructions

Sid Mohan edited this page May 17, 2023 · 1 revision

Installation Steps

  1. First, clone the repository:

    git clone https://github.com/CodexifyAI/codexify.git
    

    open your terminal and navigate to the directory where the Dockerfile is located. You can use the cd command to change directories.

  2. Next, build the Docker image using the following command:

    docker build -t codexify .
    
    

    The . at the end of the command specifies that the Dockerfile is located in the current directory.

    This command will take a few minutes to run as it downloads and installs the necessary packages and dependencies.

  3. Once the Docker image is built, you can run the container using the following command:

    docker run -p 6000:6000 codexify
    
    

    Here, 6000:6000 specifies that you want to map port 6000 on your local machine to port 6000 on the Docker container. This is necessary in order to access the Flask app running inside the container.

    If the container starts successfully, you should see some output in your terminal indicating that the API is running.

  4. Finally, test that the service is working correctly by trying out one of the sample curl requests detailed here

Clone this wiki locally