add-balance.js to deploy #1977
wupengfei0904
started this conversation in
General
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can run the npm run add-balances script after entering sh locally using docker desktop and it looks like this:
![image](https://private-user-images.githubusercontent.com/125854485/310031005-c3040d86-c95c-4d6a-ab01-8b412ec0d4c9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwMjYyMzUsIm5iZiI6MTcyNTAyNTkzNSwicGF0aCI6Ii8xMjU4NTQ0ODUvMzEwMDMxMDA1LWMzMDQwZDg2LWM5NWMtNGQ2YS1hYjAxLThiNDEyZWMwZDRjOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODMwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgzMFQxMzUyMTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yMTFhZGNkNmMyODMzNDBiMmEwZDYyMzBiYjg5YzNhMWVkYWJiNTY2MDRjZWQ0YjZkNjYyYTcyNjUwNjUwNjFlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.TLZXoEpXtilr4DYGlhME_Fz0MVEZ7ldpO_YjUTL3oWw)
I deployed the project to Digital Ocean and I went into the librechat-api container's sh and found the directory to be /app/api and the add-balances.js script does not exist.
Is there any way to implement add-balances after deployment? Is it possible to modify the balance of a user directly from the server data?
Beta Was this translation helpful? Give feedback.
All reactions