This project is split into two parts - a chrome extension and a Sinatra backend.
- Make sure you have Ruby, Bundler, Python, Pip, and Redis installed.
cd backend
- Install Ruby dependencies with
bundle install
. - Install Python dependencies with
pip install -r requirements.txt
- start server with
rackup
No setup is necessary for the front end:
- Go to
about://extensions
- Enable developer mode
- Press "load unpacked extension" (button is on the top left of the screen)
- Double click into the
chrome_extension/
directory and press OK
- (X) Clean up code
- (X) Remove
clear_db
endpoint - (X) Remove injection vulnerability
- (X) Add accounts system
- (X) Add backend for reviews system
- (X) get redis deployment working with heroku
- (X) auto add items to wishlist
- (X) implement designs from Thyphex
- (X) make it work with more bandcamp locations
- (X) Go through TODOS in source code
Note, this is not working currently, I need to update after adding the Redis dependency
It can be deployed to Heroku, if you follow these steps:
-
Make a new git repo and move the
backend/
folder there (add and commit everything). -
Add the heroku remote
-
Setup buildpacks:
heroku buildpacks:add heroku/ruby heroku buildpacks:add --index 1 heroku/python heroku buildpacks:set heroku/ruby
Note, that last line is necessary, to declare which one is the "primary" buildpack.
-
Deploy with
git push heroku master