SwApp is a web app built using the Django framework. It helps with organization and management of events as markets, fairs or exchanges.
To deplot SwApp in a local environment, follow these seps:
- git clone
- install django 2.2 and python 3
pip install -r requirements.pycd /path/to/local/repo/swapp_project/python manage.py makemigrationsto auto-generate migrationspython manage.py migrateto create the database and the necessary tablespython populate_swapp.pyto populate the databasepython manage.py runserverto run the local development server- enjoy!
For convenience, there is a default event provided and a default superuser with the credentials admin/admin. We strongly advise everyone to use the django admin interface to edit these.