- Clone the repository:
$ git clone https://github.com/DAKExDUCK/duck-it.git
$ cd duck-it
- Create venv and activate it:
$ python3 -m venv venv
$ source venv/bin/activate
- Then install the dependencies:
(venv) $ pip install -r requirements.txt
- Clone the repository:
git clone https://github.com/DAKExDUCK/duck-it.git
cd duck-it
- Create venv and activate it:
python -m venv venv
venv\Scripts\activate.bat
- Then install the dependencies:
(venv) pip install -r requirements.txt
-
Install MySQL server (or MariaDB) and start it
-
Create
secret_key
$ python3 -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'
python -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"
- Create
.env
file
SECRET_KEY="secret_key"
DB_NAME="name"
DB_USER="user"
DB_PASSWD="passwd"
DB_HOST="localhost"
DB_PORT="port"
- Make migrations
python manage.py makemigrations
python manage.py migrate
- Create super user
python manage.py createsuperuser