Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme.md #461

Open
Michaux-Technology opened this issue Feb 3, 2022 · 3 comments
Open

Readme.md #461

Michaux-Technology opened this issue Feb 3, 2022 · 3 comments

Comments

@Michaux-Technology
Copy link

Michaux-Technology commented Feb 3, 2022

Hello,

It seems to me that there are some bugs on the Readme.md :

  1. For the order :
    docker run -dit -p 3306:3306 --name mysql --restart always -v pwd/data:/var/lib/mysql -v pwd/conf.d:/etc/mysql/conf.d -e MYSQL_ROOT_PASSWORD=(value of MYSQL_PASSWORD) mysql

Error :
docker: Error response from daemon: create pwd/data: "pwd/data" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path.

2. Folder thirdPartyService doesn't exist in src/v1/

3. Folder "dist" is created after the run and there is an Error :

C:\Users\Valery-Jerome\Desktop\Agora2\flat-server\node_modules\ali-oss\lib\common\client\initOptions.js:24
throw new Error('require accessKeyId, accessKeySecret');
^
Error: require accessKeyId, accessKeySecret
at module.exports (C:\Users\Valery-Jerome\Desktop\Agora2\flat-server\node_modules\ali-oss\lib\common\client\initOptions.js:24:11)
at Function.initOptions (C:\Users\Valery-Jerome\Desktop\Agora2\flat-server\node_modules\ali-oss\lib\client.js:54:10)
at new Client (C:\Users\Valery-Jerome\Desktop\Agora2\flat-server\node_modules\ali-oss\lib\client.js:32:27)
at createOSSClient (C:\Users\Valery-Jerome\Desktop\Agora2\flat-server\dist\webpack:\flat-server\src\v1\controller\cloudStorage\alibabaCloud\Utils.ts:57:12)
at Object../src/v1/controller/cloudStorage/alibabaCloud/Utils.ts (C:\Users\Valery-Jerome\Desktop\Agora2\flat-server\dist\webpack:\flat-server\src\v1\controller\cloudStorage\alibabaCloud\Utils.ts:68:21)
at webpack_require (C:\Users\Valery-Jerome\Desktop\Agora2\flat-server\dist\webpack:\flat-server\webpack\bootstrap:19:1)
at Object../src/abstract/login/index.ts (C:\Users\Valery-Jerome\Desktop\Agora2\flat-server\dist\webpack:\flat-server\src\abstract\login\index.ts:7:1)
at webpack_require (C:\Users\Valery-Jerome\Desktop\Agora2\flat-server\dist\webpack:\flat-server\webpack\bootstrap:19:1)
at Object../src/v1/controller/login/platforms/LoginWechat.ts (C:\Users\Valery-Jerome\Desktop\Agora2\flat-server\dist\webpack:\flat-server\src\v1\controller\login\platforms\LoginWechat.ts:1:1)
at webpack_require (C:\Users\Valery-Jerome\Desktop\Agora2\flat-server\dist\webpack:\flat-server\webpack\bootstrap:19:1)

if you know how to do, I would be happy :-)

Jérôme

@BlackHole1
Copy link
Collaborator

I am sorry to reply to you so late, as these days are Chinese New Year time. 🙇‍♂️

You can see: https://github.com/netless-io/flat-server/blob/6c96faa9df5df110a4286240cbd7864ad26a22eb/scripts/prepare-test-env.sh

As we are preparing to refactor with golang, we don't have any extra time. So the README may not be up to date. 🙇‍♂️

@wisecsj
Copy link

wisecsj commented Aug 13, 2022

As we are preparing to refactor with golang, we don't have any extra time. So the README may not be up to date. 🙇‍♂️

@BlackHole1

Hi~ Is the refactor still going on?or else is aborted?

PS: I noticed there is a branch named golang, but just a skeleton.

@BlackHole1
Copy link
Collaborator

@wisecsj @michaux4 Sorry to reply so late.🙇‍♂️
Plans for golang are currently delayed indefinitely because there isn't enough time to do it, but our v2 is in progress.

The current README should be reliable now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants