DEV Community

Cover image for Devika - Install in local
KIranuknow
KIranuknow

Posted on

9

Devika - Install in local

I have installed Devika locally using docker.
As a prerequisit, I have already installed docker in my ubuntu.

There are three main components in Devika,

  1. Frontend server which runs on port 3000
  2. Backend Server
  3. Ollama and ollama LLM models which runs on port 11434

Devika can be use different non-open source LLM Models like OpenAI (chatgpt), ClaudeAI etc..

Here are step by step instructions.
Clone repository in your local directory using terminal.



git clone https://github.com/stitionai/devika.git
cd devika


Enter fullscreen mode Exit fullscreen mode

copy config.toml and edit to update API keys.



cp sample.config.toml config.toml
sudo nano config.toml


Enter fullscreen mode Exit fullscreen mode

Now, you can start installing process using docker compose. Devika's repository already contains docker compose file and no need to change anything.

sudo docker compose up

Now in the terminal, you can see the devika's containers starting.

Image description

finally you can see the port devika is running

Image description

You can go to browser and run localhost:3000.

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay