export ALI_KEY=key export ALI_SECRET=secret
docker-compose up --build api
will start up a dev environment on localhost:8000
,
it uses nodemon
for reloading the environment.
Make sure you have ZFT_BACKEND_PROXY
properly set for web-zft
,
this will override its default mock proxy.
export ZFT_BACKEND_PROXY=http://localhost:8000
Then start web-zft
by running:
npm run dev
use
docker-compose down && docker-compose up --build
after changing database schema every time.
database schema stores here: db/init.sql