$ cd /path/to/workspace
$ git clone git@github.com:m-faezi/fireball.git
$ python3.11 -m venv ./venvs/mmto
$ source ./venvs/mmto/bin/activate
$ cd fireball
$ pip install -e .
db:
url: postgresql://postgres:postgres@localhost/fireball_dev
test_url: postgresql://postgres:postgres@localhost/fireball_test
administrative_url: postgresql://postgres:postgres@localhost/postgres
messaging:
default_messenger: restfulpy.messaging.SmtpProvider
smtp:
host: <example.com>
port: 587
username: <smtp-user>
password: <smtp-password>
local_hostname: carrene.com
$ fireball db create --drop --mockup
And or
$ fireball db create --drop --basedata
$ fireball [-c path/to/config.yml] db --drop
$ fireball [-c path/to/config.yml] db --create
Or, you can add --drop to drop the previously created database: TAKE CARE ABOUT USING THAT
$ fireball [-c path/to/config.yml] db create --drop
pip install -r requirements-dev.txt
pytestfireball [-c path/to/config.yml] servewsgi.py
from fireball import fireball
fireball.configure(files=...)
app = fireballgunicorn wsgi:appCheckout fireball/controllers/foo.py,
fireball/models/foo.py and fireball/tests/test_foo.py to
learn how to create an entity.