Skip to content

KuzenkovAG/hmom3

Repository files navigation

Might & Magic Online MMORPG

Flake8 Test Coverage Status

Python Django SQLite HTML5 CSS3 JavaScript

alt text alt text

Deployment on server

deploy <- last working version

Features

  • Select your favorite fraction;
  • Make buildings;
  • Store resources.

History

  • v.0.5.1
    Change buildings cost;
  • v.0.5.0
    Create page for trading resources;
    Trading available after building marketplace (by click on building).
  • v.0.4.0
    Now increase gold incoming amount depend on administration building level;
    Now increase resources storage amount depend on storager level.
  • v.0.3.0
    Add limit to resources;
    Add about page;
    Add page of resources incoming;
  • v.0.2.0
    Add Inferno fraction;
  • v.0.1.0
    Create ability to make buildings;

Future plan

  • Add ability to create Army;
  • Add Heroes.

Installation (windows)

  1. Clone repository
git clone git@github.com:KuzenkovAG/hmom3.git
  1. Install environment
cd hmom3/
py -3.9 -m venv venv
  1. Activate environment
source venv/Scripts/activate
  1. Install requirements
pip install -r requirements.txt
  1. Make migrate
python hmom3/manage.py migrate
  1. Fill DB
python hmom3/manage.py import_csv
  1. Create superuser <- for creation superuser need to use ONLY this command
python hmom3/manage.py create-superuser \
--username=admin \
--email=admin@mail.ru \
--password=admin
  1. Run server Before run make sure settings.DEBAG = True
python hmom3/manage.py runserver