You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Tait Hoyem bff3896804
Add home link to nav
2 years ago
battleship Fix minesweeper's SR compatibility; start on battleship. 4 years ago
bin Fix minesweeper's SR compatibility; start on battleship. 4 years ago
chat finally split games up; allow websockets from <app>/urls.py 2 years ago
common Add home link to nav 2 years ago
games split up games into individual apps 2 years ago
lamegames ready for skel 2 years ago
minesweeper finally split games up; allow websockets from <app>/urls.py 2 years ago
rps newline bs 2 years ago
skel Update readme indsutction to reflect new command 2 years ago
.gitignore Add basic files 4 years ago
README.md update readme with detailed dev instructions 2 years ago
manage.py Initial commit 4 years ago
requirements.txt Adds shutil requirement for new management command 2 years ago

README.md

Lamegames

This is my lamegames repository. It has a lot of lame games, lol!

Run Locally

To run a local instance, you will need to run the following commands after cding yourself into the lamegames repo; $ represents a command, # is a comment:

# create a virtual environment (aka install dependencies locally, instaed of system-wide)
$ python -m venv env
# activate virtual environment (use local dependencies instaed of system-wide dependencies)
$ source env/bin/activate
# install dependencies
$ pip install -r requirements.txt
# run django migrations (setup database)
$ python manage.py makemigrations
$ python manage.py migrate
# start redis (install it first, if you don't have it)
$ systemctl start redis
# start django app
$ python manage.py runserver
# now access at http://localhost:8000/ woot woot!

How to add a game:

See /skel/README.md