| 1 |
# Sample App |
| 2 |
|
| 3 |
Before you start, make sure you have Redis installed, since |
| 4 |
we need if for caching purposes. |
| 5 |
|
| 6 |
``` |
| 7 |
# Debian |
| 8 |
sudo apt-get install redis-server -y |
| 9 |
# macOS |
| 10 |
brew install redis |
| 11 |
``` |
| 12 |
|
| 13 |
Now, to run the sample app, please execute: |
| 14 |
|
| 15 |
``` |
| 16 |
git clone https://github.com/codingjoe/django-select2.git |
| 17 |
cd django-select2/example |
| 18 |
python3 -m pip install -r requirements.txt |
| 19 |
python3 manage.py migrate |
| 20 |
python3 manage.py createsuperuser |
| 21 |
# follow the instructions to create a superuser |
| 22 |
python3 manage.py runserver |
| 23 |
# follow the instructions and open your browser |
| 24 |
``` |