Python middleware for OpenBBS.
Transferred to go-openbbsmiddleware
After few weeks of python-development, we realized that the typeless feature of python may be the bottleneck of the development in the foresee future.
We switched to go-openbbsmiddleware and continued the development starting from v0.3.0
You can run docker with the following steps:
- copy
docker_compose.env.template
todocker_compose.env
and modify the settings. ./scripts/docker_initbbs.sh [BBSHOME] pttofficialapps/go-pttbbs:latest
docker-compose --env-file docker_compose.env -f docker-compose.yaml up -d
- register at
http://localhost:3457/Account/register
- login at
http://localhost:3457/Account/login
- logout at
http://localhost:3457/Account/logout
telnet localhost 8888
and use the account that you registered.
You can start developing with the following steps:
git clone [repo]
./scripts/clone_projet.sh
Use the following template-script to start a module (automatically generate code-files and test-files):
./scripts/dev_module.sh [module]
ex: ./scripts/dev_module.sh a.b.c
You can do unit-test with:
./scripts/test.sh
You can run swagger with:
./scripts/swagger.sh
- go to
http://localhost:5000
You can go to github Wiki and see more document there