Skip to content

GrammerhubTeam/connect-4-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Flask REST Microservice

REST API written in Python Flask using SQLAlchemy as the ORM with auto migration capabilities

Pre-requisites

 python -m pip install -U pip 

For Developers

  • Download & install NodeJS
  • Install nodemon (use sudo if you in linux)
npm i -g nodemon

Installation

# Change into the directory
cd connect-4-bot
# Install all required dependencies with
pipenv install pylint --dev
# Activate the project virtual environment
pipenv shell
# Create an local .env file and replace with the relevant values
cp .env.sample .env

You can also set the enviroment variables explicity (OPTIONAL)

PORT=9400
BUILD_ENV=development
DATABASE_URL=postgres://name:password@host:port/dbname

Running the application

Start the app

python run.py

Start the app for developers

nodemon run.py

Author

Bug Function

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors