text stringlengths 0 3.02k |
|---|
[3/16/2024 5:36 PM] g30 |
True |
[3/16/2024 5:38 PM] wildtang3nt |
I try to make my deployment as stateless as possible, I keep everything that can be an environment variable in an `.env` file, and I bind mount my `/app/backend/data` folder |
[3/16/2024 5:39 PM] wildtang3nt |
so I always use the same `docker run` command, and everything is setup as it should be even if I entirely delete the container |
[3/16/2024 5:39 PM] wildtang3nt |
you can do this with manual install using the `.env` file, and.. not really sure why the data folder caused a conflict, that should be in the `.gitignore` |
[3/16/2024 5:43 PM] joe.young.security |
Or you could isolate it in a new file +backend/apps/litellm/utils.py, which doesn't exist yet. I'm not sure if that follows the trend of how there is now rag/main.py and rag/utils.py, etc. |
[3/16/2024 5:44 PM] g30 |
Nvm I think I am wrong for what I just deleted. |
[3/16/2024 5:45 PM] g30 |
Yeah, the data folder causing a conflict kinda has be stumped too |
[3/16/2024 5:47 PM] wildtang3nt |
I have a suspicion of what's going on but I'll look into it later |
[3/16/2024 5:47 PM] g30 |
Although, maybe it needs to target more folders & files to be ignored in the `data` folder for the backend. |
{Attachments} |
[3/16/2024 5:49 PM] wildtang3nt |
the databases could be added to the .gitignore explicitly to resolve this |
[3/16/2024 5:51 PM] joe.young.security |
Why aren't you using vscode with git plugins? |
[3/16/2024 5:51 PM] g30 |
Because I'm not a fully integrated tech nerd 😭 |
[3/16/2024 5:51 PM] joe.young.security |
You're working like a caveman. |
[3/16/2024 5:51 PM] wildtang3nt |
I _did try_ to suggest you start there |
[3/16/2024 5:51 PM] wildtang3nt |
you insisted on your way lol |
[3/16/2024 5:52 PM] joe.young.security |
There are tools at your disposal for free that will make what you are doing so much easier. |
[3/16/2024 5:53 PM] joe.young.security |
{Attachments} |
[3/16/2024 5:54 PM] wildtang3nt |
anyway, we're not trying to rag on ya G30, we want you to continue your development, you've come far already in a short time |
[3/16/2024 5:55 PM] wildtang3nt |
next step though, is.. not working like a caveman, the fundamentals only get you so far, at some point it needs to be applied together |
[3/16/2024 5:55 PM] joe.young.security |
This is true. Everyone starts somewhere. I worked just like you are until I watched some YouTube videos and read some articles on how to do it better. |
[3/16/2024 5:56 PM] wildtang3nt |
LLMs were a huge help to me learning how to do things the right way instead of doing so many reclones and forced hard resets 😛 |
{Reactions} |
💯 |
[3/16/2024 5:56 PM] wildtang3nt |
that and as Joe says.... VSCode takes all the thinking out of it |
[3/16/2024 5:56 PM] wildtang3nt |
most of the time |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.