Skip to content

The easiest way to build a modern backend. Fully open source. BBGO is a django app framework and a headless CMS.

License

Notifications You must be signed in to change notification settings

genonfire/bbgo-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bbgo-core

API CodeQL codecov

Total bbs system made by django

bbgo-ui: https://github.com/genonfire/bbgo-ui

UI Demo: https://genonfire.github.io/bbgo-demo/

Create database before setup

$ psql
postgres=# create user <DB_USER>;
postgres=# alter user <DB_USER> with password '<DB_PASSWORD>';
postgres=# create database <DB_NAME> owner <DB_USER>;

Getting started with bbgo

Create Python + virtualenv and activate it

$ pip install -r requirements.txt
$ python manage.py migrate
$ ./serve.sh

Docker

$ docker-compose up -d --build

unittest

$ ./runtest.sh flake8  # run flake8 only
$ ./runtest.sh  # run all unit tests + flake8
$ ./runtest.sh --clean  # without --keepdb option
$ ./runtest.sh case [case name]  # run a specific unit test in debug-mode

Swagger

http://localhost:8000/redoc/
http://localhost:8000/swagger/