Skip to content

Durak card game web application using Flask and SocketIO.

Notifications You must be signed in to change notification settings

HudsonLanier/durak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Durak

Quickstart

Install requirements

Create virtual environment and activate it.

Linux/mac:

python -m venv durakenv
source durakenv/bin/activate
pip install -r requirements.txt

Windows:

python -m venv durakenv
call durakenv/Scripts/activate.bat
pip install -r requirements.txt

Initialize the database

from run import app
from website import db
from website.models import User

with app.app_context():
    db.create_all()

Set the necessary config variables

Copy the website/.env.example file to website/.env. Enter the correct information for your system:

SECRET_KEY=<your secret key>
SQLALCHEMY_DATABASE_URI=<location of the database>
EMAIL_USER=<app gmail account>
EMAIL_PASS=<app gmail password>

Run the application

python run.py

Visit the application at 127.0.0.1:5000 in your browser.

About

Durak card game web application using Flask and SocketIO.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published