Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/macdja38/minesweeper-server
- Owner: macdja38
- Created: 2019-02-04T04:25:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-05T01:30:19.000Z (almost 6 years ago)
- Last Synced: 2024-10-22T09:53:49.199Z (3 months ago)
- Language: Python
- Size: 25.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
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`