Skip to content

metrasynth/svaudio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sunvox.audio

Backend for the sunvox.audio website.

License: MIT

We encourage you to join in on the fun!

Branding

This is not intended to be used outside of being hosted at sunvox.audio or beta/staging sites maintained by its developers.

If you fork this with the intention of making a new site, please be sure to change the name to something other than "sunvox.audio".

Thanks!

Initial setup

First, install the latest version of docker.

Next, build the stack to make sure that part succeeds:

$ docker compose build

Initialize your database by running this:

$ docker compose run --rm django ./manage.py migrate

Then, bring up the rest of the backend stack:

$ docker compose up

When everything is running you should be able to visit these sites:

Basic Commands

Setting Up Your Users

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 Mailhog server to see a simulated email verification message. Click the link. Now the user's email should be verified and ready to go.

To create an superuser account, use this command while the stack is running:

$ ./django.sh ./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 tests with py.test

$ ./django.sh pytest