Skip to content

A buy& sell marketplace to expand your music collection!

Notifications You must be signed in to change notification settings

celinehuang/zola

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buy& Sell Marketplace for Music

Built By Celine Huang Jim Prescott Jacek Dziewonski

github-small github-small github-small github-small github-small

Backend Set Up

IMPORTANT: Please note that the correct backend folder is named "newbackend" !!!!!!

Set up a Python virtual environment for the backend:

python3 -m venv env

source env/bin/activate

CD into the correct directory:

cd newbackend/Zola

Once the environment is activated, install requirements:

pip install -r requirements.txt

The project comes without a database or any migrations. To set up the database before the first time you run it:

python manage.py makemigrations vueapi
python manage.py migrate

To run the Django backend:

python manage.py runserver

Redis Set Up (for our marketplace chat room)

You should do this inside of your virtual environment as well!

Mac OS

To install Redis:

brew update
brew install redis

To have launchd start redis now and restart at login:

brew services start redis

Test if Redis server is running.

redis-cli ping

If it replies “PONG”, then it’s good to go!

Windows

Download a recent stable executable of Redis, and run redis-server.exe. https://github.com/microsoftarchive/redis/releases

Frontend Set Up

To run the frontend, you will need to install the Quasar CLI and version 3 or higher of the Vue CLI. If you have an older version of Vue CLI installed, you will need to uninstall it and re-install the latest version.

To install dependencies, run npm install or yarn install in the frontend folder. To run the frontend from the frontend folder:

quasar dev

Registering a user

To access the site, you must make an account. Certain things, like a password that is too simple, or an incorrect email format, will make account registration fail. We recommend you use the following to register if you're having trouble registering and logging into the site:

Username : johndoe Password : testzolapass123 email : jdoe@gmail.com

About

A buy& sell marketplace to expand your music collection!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published