titans55 / wololo

Browser based strategy game being written with DRF and Angular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wololo

Browser based strategy game

Getting Started

Pull the develop (will be created) branch, install prerequisites and requierments.

Prerequisites

Install virtualenv: (pip3 install virtualenv) and create your env. (virtualenv yourenvname)

Install rabbitMQ: Docs

Install docker: Docs

Install postgresql: Docs

Installing

Follow these instructions after installing prerequisites.

Go in to your virtual environment :

virtualenv yourenvname

Install modules:

pip3 install -r requirements.txt

Log in to your psql and create database for migration:

sudo -u postgres -i
psql
CREATE DATABASE "wololoDjango"

After this, your db is ready for running migrations. so do it.

python3 manage.py migrate

You will find exampleInitFile.sh file on the project. change the paths according to your file system. then run it.

sudo ./exampleInitFile.sh

Check opened terminals and give permission to the rabbitMQ and Docker if neccessary.

That's all.

Running the tests

Will be added ASAP.

And coding style tests

Use VSCode and install python extension.

Deployment

Will be discussed.

About

Browser based strategy game being written with DRF and Angular


Languages

Language:Python 45.9%Language:TypeScript 32.7%Language:JavaScript 10.4%Language:HTML 9.9%Language:CSS 1.0%