Skip to content
This repository has been archived by the owner on May 1, 2022. It is now read-only.

linux-audio-italia/vintage4tk

Repository files navigation

Vintage 4tk cassette recorders

A website to collect vintage 4 tracks cassette recorders.

example workflow Code style: djLint Code style: black CSS style: stylelint

Local development setup

  1. Copy and customize Django settings (especially https://docs.djangoproject.com/en/3.2/ref/settings/#databases)
$ cp vintage4tk/settings/ci.py vintage4tk/settings/local.py
$ $EDITOR vintage4tk/settings/local.py
  1. Create a virtualenv and install the python and node requirements
$ python -m venv venv
$ . ./venv/bin/activate
$ pip install -r requirements.txt
$ npm install
  1. Create the database and migrate the schema
$ createdb <dbname> --owner=<dbowner>
$ python manage.py migrate
  1. Load some test data
$ python manage.py loaddata users brands recorders
  1. Build the frontend static files
$ npm run build
  1. Run the development server and css compilation
$ supervisord

Visit the website at http://127.0.0.1:8000 and the admin interface at http://127.0.0.1:8000/admin

The admin username and password are admin / adminadmin.

About

A website to collect vintage 4 tracks cassette recorders.

Resources

Stars

Watchers

Forks