Skip to content

tammyhansen/capstone-project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LWTech Capstone Project

Welcome to the LWTech capstone project! The idea of this project is to create a game world that players can interact with programmatically to improve their programming ability while having fun.

This project is in it's early stages so keep an eye out for future improvements!

Setup

Dependencies

Running the following commands will install the dependencies for the project.

python -m pip install flask pymongo[srv]

Configuration

db.config

You need a db.config file containing a MongoDB connection string in the top level of the project so the app can load the database.

If you are getting an error like "File db.config" does not exist this is why.

Running The Server

Use these commands to start the Flask server. Running the server in development mode like shown here will reload the server when changes are made.

Flask 2.2.0

If you just installed flask this is the option to choose.

python -m flask --debug run

Flask 2.0.0

If you're using an older version of flask you have to set some environment variables first.

Windows CMD

set FLASK_APP=app.py
set FLASK_ENV=development
python -m flask run

Windows PowerShell

$env:FLASK_APP = "app.py"
$env:FLASK_ENV = "development
python -m flask run

Bash

export FLASK_APP=app.py
export FLASK_ENV=development
python -m flask run

About

A programming MMO game developed as a Capstone Project at LWTech

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 49.6%
  • HTML 30.0%
  • JavaScript 19.6%
  • CSS 0.8%