diff --git a/.gitignore b/.gitignore index ef8d4d1..acd9fcd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ *.pyc *~ .coverage +dist/ docs/_build/ .tox/ diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..b11b0d1 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,9 @@ +## v0.1.0 (2025-01-06) + +### Feat + +- add basic "create order" feature, docs, tests + +### Fix + +- add static libcache files for vue2 + buefy diff --git a/README.md b/README.md index e451ab2..89cc29a 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ # Sideshow -This is a starter project based on -[WuttaWeb](https://wuttaproject.org). +This is a web app which provides retailers a way to track case/special +orders. + +Full docs are at https://rattailproject.org/docs/sideshow/ ## Quick Start @@ -13,6 +15,3 @@ Make a virtual environment and install the app: source sideshow/bin/activate pip install Sideshow sideshow install - -For more info see -https://rattailproject.org/docs/wuttjamaican/narr/install/index.html diff --git a/tasks.py b/tasks.py new file mode 100644 index 0000000..6cdbab2 --- /dev/null +++ b/tasks.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8; -*- +""" +Tasks for Sideshow +""" + +import os +import shutil + +from invoke import task + + +@task +def release(c, skip_tests=False): + """ + Release a new version of Sideshow + """ + if not skip_tests: + c.run('pytest') + + # rebuild pkg + if os.path.exists('dist'): + shutil.rmtree('dist') + if os.path.exists('Sideshow.egg-info'): + shutil.rmtree('Sideshow.egg-info') + c.run('python -m build --sdist') + + # upload + c.run('twine upload dist/*')