Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/macdja38/minesweeper-server

Server Side of Minesweeper
https://github.com/macdja38/minesweeper-server

Last synced: 28 days ago
JSON representation

Server Side of Minesweeper

Awesome Lists containing this project

README

        

# About

This is the server-side of a Web based Minesweeper clone
It will bind to port 8000

# Setup

### Setup env

Copy `.env.example` to `.env` and change the secret.

### Enter virtual env

##### Linux / macos
`source env/bin/activate`
##### Windows
`env\Scripts\activate`

### Install dependencies

`pip install -r requirements.txt`

### Setup Database

`python manage.py migrate --run-syncdb`

### Run Tests

`python manage.py test`

### Start dev server

`python manage.py runserver`

# Docker

### DB Initialization

`docker-compose run api python manage.py migrate --run-syncdb`

### Build and run

`docker-compose up -d --build`