Web app version of AviPost. Please refer to sunforest/AviPost as backend.
Preparation:
sudo npm install -g gulp
npm install
under the root directoryNow you have a bunch of tasks available:
gulp serve
set up a dev server with auto compilation on code change *gulp build
build for productiongulp test
run unit testsgulp clean
clean generated filesPlease refer to gulpfile.js to find other smaller tasks.
* Notice: The server initialized by gulp serve
needs a backend. If you cannot connect to a proper running backend, you can it by following
Quick & dirty steps (be careful it is NOT best practice and may pollute your system):
git submodule sync && git submodule update --init
docker build -t avipost AviPost/
createdb avipost_ci
psql -U postgres -c "CREATE EXTENSION postgis -d avipost_ci"
python AviPost/avipost/manage.py migrate
docker run --name=api --net='host' -e "DJANGO_SETTINGS_MODULE=avipost.settings.dev_yar" -d avipost