Skip to content

A website that allows users to track all the media that they have either already consumed or plan to consume across media formats.

Notifications You must be signed in to change notification settings

EMachin3/Trackrr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trackrr

A website that allows users to track all the media that they have either already consumed or plan to consume across media formats.

Setup

  1. git clone https://github.com/EMachin3/Trackrr.git
  2. Set up a Postgres database on your local machine (you could also edit the code in app.py to access a remote database)
  3. Set the DB_USERNAME, DB_PASSWORD, and DB_NAME environment variables.
  4. While you're at it, set FLASK_SECRET_KEY to be something random (I use os.urandom(24) from the Python library). Also, set the TEST_USER_PASSWORD to be the bcrypt hash for your password generated using passlib.
  5. cd backend
  6. python -m venv .venv
  7. . .venv/bin/activate (if on Mac or Linux) or .venv\Scripts\activate (if on Windows)
  8. pip install -r requirements.txt
  9. python init_db.py
  10. cd ../frontend
  11. Install npm
  12. npm install
  13. Add needed images to public (not uploading them to repo because unsure about copyright)

Running

Backend: flask run or flask run --debug
Frontend: npm start or DANGEROUSLY_DISABLE_HOST_CHECK=true npm start

Access the site

Visit localhost:3000 and sign in with a username of test and your password.

About

A website that allows users to track all the media that they have either already consumed or plan to consume across media formats.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published