Simplicity at its best.
Project page: getspade.io
Documentation crugroup.github.io/spade
curl -O https://crugroup.github.io/spade/docker-compose.yml
docker compose up
-
To create a normal user account, just go to Sign Up and fill out the form. Once you submit it, you'll see a "Verify Your E-mail Address" page. Go to your console to see a simulated email verification message. Copy the link into your browser. Now the user's email should be verified and ready to go. Some things things to note about accounts:
- The first created user is automatically a Superuser.
-
To create a superuser account, use this command:
$ python manage.py createsuperuser
Running type checks with mypy:
$ mypy spadeapp
To run the tests, check your test coverage, and generate an HTML coverage report:
$ coverage run -m pytest
$ coverage html
$ open htmlcov/index.html
$ pytest
Install local dependencies
pip install -r requirements/local.txt
Run your a local django server
export DJANGO_READ_DOT_ENV_FILE=True
export DJANGO_ENV_FILE=.envs/.local/.local
docker-compose -f local.yml up -d postgres
./manage.py runserver
spadeapp.examples
contains some examples for basic objects such as executor, processor, and history provider.