Oice project consists of the open source repos under GPLv3 licence...
... and 2 proprietary repos avalable for development use only
Please check the respective licence files for terms and conditions
- Docker and docker-compose
Remeber to init all submodules first
git submodule update --init --recursive
docker-compose build
docker-compose up -d
The SQL dump in database will be imported the first time you run the mysql container
For web development quick start, rename oice-web/common/constants/key.example.js
to key.js
, then
docker-compose -f docker-compose.oice-web-dev.yml build
docker-compose -f docker-compose.oice-web-dev.yml up
it will take some time for webpack to build the oice-web
development build
We use Alembic for oice-server database version control
In case of a database upgrade needed, just run
docker-compose exec oice-server alembic -c example.ini upgrade head
while the oice-server
and mysql container is running
For more detailed guide of creating migrations and downgrading db version, please refer to alembic documentation.