# Clone repository
git clone [email protected]:athenekilta/vuebufferi.git
cd vuebufferi
# Create and activate virtualenv
python3 -m venv venv
. venv/bin/activate
# Install requirements (inside virtualenv)
pip install -r requirements.txt
# Generate a .env file with secret key
(echo 'import secrets'; echo 'print(f"SECRET_KEY={secrets.token_urlsafe()}")') | python > .env
# Run migrations
python manage.py migrate
# Create superuser for Django
python manage.py createsuperuser
# If venv is not already active
. venv/bin/activate
python manage.py runserver
When you pull code that includes new migrations, you should run python manage.py migrate
.
In case your code requires changes in the database, run python manage.py makemigrations
followed by python manage.py migrate
.
Recommended style: commit.style.
Just commit your changes, use branches when necessary. Pull requests are great for reviewing.
Pull requests welcome! Please explain what your change does and use descriptive commit messages etc.
Please add your name to the contributors in LICENSE when you make your first commit / pull request in this repository 🥰