Behold My Awesome Project!
Moved to settings.
-
To create a normal user account, just go to Sign Up and fill out the form. Once you submit it, you'll see a "Verify Your E-mail Address" page. Go to your console to see a simulated email verification message. Copy the link into your browser. Now the user's email should be verified and ready to go.
-
To create a superuser account, use this command:
$ python manage.py createsuperuser
For convenience, you can keep your normal user logged in on Chrome and your superuser logged in on Firefox (or similar), so that you can see how the site behaves for both kinds of users.
Running type checks with mypy:
$ mypy learnmusic
To run the tests, check your test coverage, and generate an HTML coverage report:
$ coverage run -m pytest
$ coverage html
$ open htmlcov/index.html
$ python manage.py test
This project uses Tailwind CSS for styling. Follow these steps to set up the Tailwind CLI:
-
Install Node.js and npm if you haven't already (https://nodejs.org/)
-
Install the project dependencies:
$ npm install -
Build the CSS (one-time build):
$ npm run build -
Or watch for changes during development:
$ npm run watch
The Tailwind configuration is in tailwind.config.js, and the input CSS file is at ./learnmusic/static/css/tailwind.css. The compiled output is generated at ./learnmusic/static/css/project.css.