Go to file
outruncolors 5e1d98a3bf
WIP: Add Casino (Do Not Merge) (#341)
* Add new /casino route and template

* Consolidate lottery into casino and add initial template for slots

* Change /lottery route to /casino and replace icon with usd symbol and change sitewide const to reflect change

* Hook up new slots method to casino

* Enable Marseybux spending in casino slots

* Add UI for playing blackjack in casino

* First connection of blackjack UI to backend

* Add protective clause thanks to help from carpathianflorist.

* Create new Casino_Game relation and persist inside of blackjack

* Connect new slots behavior to Casino_Game table

* Create UI action management logic

* Add blackjack game status checker which adds persistence for blackjack

* Gonna handle this better, hold on

* Reorganize blackjack helper methods

* Reorganize casino.js to account for new changes

* Connect up to frontend

* Little changes ya know

* Display a message when winning in Blackjack

* Fix some issues with double down and insure

* Revert "remove owoify-py from requirements"

This reverts commit 4454648ea2.

* A little casino styling change

* Reorganize into a casino block

* Smallenize the card'

* Remove references to old game data on comments

* Add sql migration file

* Remove logic to drop old columns

* Fix two forgotten conflicts
2022-09-04 22:53:34 +02:00
.github edit cumroad link 2022-07-23 16:31:19 +02:00
files WIP: Add Casino (Do Not Merge) (#341) 2022-09-04 22:53:34 +02:00
sql WIP: Add Casino (Do Not Merge) (#341) 2022-09-04 22:53:34 +02:00
.gitattributes mn 2022-05-05 01:09:46 +02:00
.gitignore fix exceptions in sanitize leaving SIGALRM on 2022-07-06 04:46:00 -04:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-01-31 15:29:51 -08:00
Dockerfile fixed dockerfile (#340) 2022-08-25 15:14:56 +02:00
LICENSE mn 2022-05-05 01:09:46 +02:00
dependabot.yml mn 2022-05-05 01:09:46 +02:00
docker-compose.yml testing our unit test 2022-06-29 05:01:52 +02:00
env change default dues from 10 to 0 2022-09-01 21:15:21 +02:00
gunicorn.conf.py log request info on global timeout (#339) 2022-08-24 16:22:54 -04:00
imei.sh nxcv 2022-02-18 15:47:17 +02:00
nginx.txt add the nginx file we use to the repo in case some1 finds it useful 2022-08-26 18:22:22 +02:00
pg_hba.conf mn 2022-05-05 01:09:46 +02:00
readme.md adjust discord 2022-08-18 18:52:26 +02:00
redis.conf mn 2022-05-05 01:09:46 +02:00
requirements.txt Revert "remove owoify-py from requirements" 2022-08-30 07:03:17 +02:00
run_tests.py replace spaces with tabs 2022-06-13 20:33:25 +02:00
schema.sql WIP: Add Casino (Do Not Merge) (#341) 2022-09-04 22:53:34 +02:00
seed-db.sql decrease hat price from 1000 to 500; 2022-09-03 22:56:56 +02:00
snappy_PCM.txt WIP: Add Casino (Do Not Merge) (#341) 2022-09-04 22:53:34 +02:00
snappy_rDrama.txt Hats (#349) 2022-09-03 02:10:15 +02:00
startup.sh make chat worker not detached anymore 2022-08-14 04:46:01 +02:00
startup_chat.sh make chat worker not detached anymore 2022-08-14 04:46:01 +02:00
supervisord.conf don't run chat in localhost (makes shit slow) 2022-08-30 06:54:14 +02:00
ubuntu_setup.sh Hats (#348) 2022-09-03 01:58:55 +02:00

readme.md

Build status

This code runs https://rdrama.net, https://pcmemes.net and https://watchpeopledie.co

Installation (Windows/Linux/MacOS)

1- Install Docker on your machine.

Docker installation

2- Run the following commands in the terminal:

git clone https://github.com/Aevann1/rDrama/

cd rDrama

docker-compose up

3- That's it! Visit localhost in your browser.

4- Optional: to change the domain from "localhost" to something else and configure the site settings, as well as integrate it with the external services the website uses, edit the variables in the env file and then restart the docker container.


For returning contributors, we have noticed the following issues (if you can help fix them, we will be very grateful!):

  1. Docker doesn't know when we add a new Python dependency, docker-compose build is needed.
  2. DB schema changes are not applied automatically, the easiest way to deal with that is to delete the entire environment from the Docker GUI and do docker-compose up. Also wait five minutes for a "sneed" commit from Aevann meaning that the sql file was regenerated.
  3. Old authorization cookies from the previous instance cause a weird 404 error, clear cookies for localhost to fix.