A website to allow UTC students to ask them for payments to UTC student clubs.
- Execute
pip install -r requirements.txt
to update dependencies. - Set up your own local settings (see "Local Settings"). We advise you to create a
local_settings.py
file - it will automatically override any setting defined insettings.py
. - Migrate your database with
python manage.py migrate
. If this command fails to work, make sure your database settings are correct. - If you don't have Bower yet, install it on your own machine. Go to
payetonasso/static
, then runbower install
. - Launch the server with
python manage.py runserver
.
To add local settings to Paye ton asso!, add a payemoi/local_settings.py
file. The new settings will override the old ones.
These are the settings that are mandatory for Paye ton asso! to work:
- Database settings
- A Nemopay API key disposing of
WEBSALE
rights on all fundations - If you want to use Ginger as a user authentification system, a Ginger API Key.
- E-mail parameters (all the parameters at the end of
settings.py
that are prefixed byEMAIL
). - A default sender email,
DEFAULT_FROM_EMAIL
. Recommended format recognized and interpreted by e-mail clients :Name <[email protected]>
.
- Automatic article creation : if the user has
GESARTICLE
rights on the fundation he's creating transactions, the server could handle the creation of an article with the correct price, so the user doesn't have to connect to daphne to do it.