flat-server icon indicating copy to clipboard operation
flat-server copied to clipboard

Readme.md

Open Michaux-Technology opened this issue 4 years ago • 3 comments

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

Michaux-Technology avatar Feb 03 '22 08:02 Michaux-Technology

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. 🙇‍♂️

BlackHole1 avatar Feb 05 '22 05:02 BlackHole1

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.

wisecsj avatar Aug 13 '22 07:08 wisecsj

@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.

BlackHole1 avatar Sep 20 '22 09:09 BlackHole1