Prerequisites:
Docker installed node/npm installed ruby, rails installed
run npm install
run docker-compose up
run rails webpacker:compile
to install js assets
a .env file with proper keys and env variables
With no proper documentation, this took several hours to figure out.
Note: most of the NPM installed packages are outdated with vulnerabilities
ignore the docker-compose2.yml file
there are broken migrations, I had to comment these out:
20180113161809_create_user_products
the payment_request line
20180113162211_create_initial_products_for_blueprint_you.rb
all
20180828135624_populate_allowed_course_ids_on_partners.rb
all
There's no way of knowing if commenting out these migrations will cause any future breakages and with no tests written, one can only guess at best.
With a fresh database, and no GUI defined way to create a user, users must be created manually. Lack of seeds file make this tedious.
Alternative is to pull the database from heroku and then alter the 400+ users' emails to a fake email but this is not ideal.