Essai du framework Django (Python)
- You need to install python (and pip), a MySQL or MariaDB database
- Django must be installed
python -m pip install Django- Install Django-compatible MySQL python client
python -m pip install mysqlclient- Install the debug bar
python -m pip install django-debug-toolbar- Install Pillow (It is for ImageField)
python -m pip install pillow- Download the project
git clone https://github.com/OrifInformatique/Django_test
cd Django_test- Configure your database in mysite/settings.py
- Create your database in MySQL or MariaDB
- Tables must be created via :
python manage.py migrateCreate a admin
python manage.py createsuperuser- Launch the site
python manage.py runserverGo on : http://localhost:8000/admin/ and create some products with images