Skip to content

hackclub/pyramid-scheme-v3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyramid scheme

yoo is this real? unfortunately not actually a pyramid scheme. this is hack club's flagship referral program! specifically the third iteration (hence the v3). screengrab_noartifacts

ok so what do i start with

if you love containers and want to save time go here

otherwise,

bundle install
npm install
bin/rails db:create db:migrate db:seed

run

bin/dev

app runs on http://localhost:4444. ez! well you have to do some more stuff (see below) but

test

bin/rails test

env

copy .env.example to .env and configure as needed

required:

  • DATABASE_URL - postgres connection string

everything else is optional, but add as much as you can. a lot of things might not work otherwise! make a gh issue / PR if you would like me to fix smth with the dev setup!

so wth is qreader

qreader (this is the microservice that the reads qr codes for auto verification!):

cd qreader && PORT=4445 python main.py

and worker?

background jobs (these sync data in the bg):

bin/rails solid_queue:start

what about proxy?

proxy (url shortener service; you probably won't need it though!):

cd proxy && PORT=4446 python main.py

i am a docker pro pls dont waste my time

docker-compose up

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •