Comments (1)
I think I may have found a fix to speed up development. I'm using docker volumes to do so.
- Build the Docker Image: The first step is to build the Docker image for the RealChar application. You can do this by running the following command:
python cli.py docker-build
- Create a Docker Volume: Next, you'll need to create a Docker volume. This is a "shared folder" that will be accessible both from your host machine and from inside the Docker container. Any changes you make to the files in this volume on your host machine will be reflected inside the Docker container. You can create a Docker volume by running the following command:
docker volume create realchar-volume
- Run the Docker Container:
docker run -v realchar-volume:/RealChar -p 8000:8000 shaunly/real_char:latest
Note: when running step 3 I got this error:
Unable to find image 'shaunly/real_char:latest' locally
latest: Pulling from shaunly/real_char
docker: no matching manifest for linux/arm64/v8 in the manifest list entries.
See 'docker run --help'.
I then built the image locally and it seemed to have fixed the error I got and now when I run docker run -v ...
it works just fine
- general command:
docker build -t shaunly/real_char:latest .
- if you need to run the platform specific build:
docker build --platform linux/arm64/v8 -t shaunly/real_char:latest .
Boom: now you can containerize the project in a docker container and still have the speed of running the project on your machine as if it wasn't containerized :P
edit: I didn't take into account the dockerfile that already existed in the repo so this is the docker run command you should run: docker run -v <PATH TO DIR OR DOCKER VOLUME>:/realtime_ai_character -p 8000:8000 shaunly/real_char:latest
from realchar.
Related Issues (20)
- python3.10 cli.py run-uvicorn error
- python cli.py run-uvicorn , error!!! HOT 1
- add support for OpenAI / LocalAI TTS endpoint
- /uploadfile 401 Unauthorized (Invalid Authorization credentials) HOT 2
- Open source? HOT 1
- Knowledge does not support markdown
- Why
- Deployment error about websocket HOT 1
- twilio agent only says first sentence
- Voice Detection, good but voice output not
- twilio call not working
- high cpu utilization process (kdevtmpfsi) in docker container realchar_db
- Websocket gets disconnected.
- docker quick start run: openai not work, only rebyte?
- docker run error: Application error: a client-side exception has occurred (see the browser console for more information).
- docker start from new:dependency failed to start: container realchar-backend-1 is unhealthy
- dd support for OpenAI / LocalAI TTS endpoint
- i can't figure out how this system works.
- Deleting account
- Can it support dify or coze so that there are more ways to play?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from realchar.