gae ported version of supply tracker
gae ported version of supply tracker.
Supply tracker is a Sales CRM for MSME.
It is in early phase development for developers preview only. Not stable yet.
We have just ported it to appengine.
Build Tool: Bazel
Current Stack: Jinja2, Python3, Flask, SqlAlchemy, Sqlite.
Stack to Port to for the time being:
We are keeping the mvc part micro so it does not dictate the design and development. Instead it should be a helper library.
The current directory structure is like:
└── package
├── app
│ ├── static
│ │ ├── css
│ │ ├── fonts
│ │ └── js
│ └── templates
│ ├── add
│ ├── edit
│ ├── form_templates
│ ├── javascript
│ └── view
└── deploy
All static files are under app/static. Templates are under app/tempalates.
This needs to be split into app_server/ and app/ dirs.
WIP
WIP
git checkout -b <new_branch>
from develop
branch.cd package
$HOME/bin/bazel run --spawn_strategy=standalone :main --copt --aspects=@bazel_tools//tools/python:srcs_version.bzl%find_requirements --verbose_failures=true --show_timestamps=true --python_version=PY3 --build_python_zip --sandbox_debug --color=yes --curses=yes --jobs=10 --loading_phase_threads=HOST_CPUS
curl locahost:8081
or curl locahost:5000
cloud-build-local --config=cloudbuild.yaml --dryrun=false --push .