Skip to content

marlanperumal/codenames-backend

Repository files navigation

Codenames Backend

Backend for an implementation of the Codenames boardgame

Dependencies

You must have these installed before running

Quickstart

  1. Install libraries

    poetry install
  2. Create a copy of the .env file from the supplied template and edit as required

    cp template.env .env
  3. Initialise the database

    poetry run flask db upgrade head
  4. Populate the database with some words

    poetry run python load_words.py --new-langauge --language=EN data/words/words_en.txt

    You can use the load_words.py script to load files with more words and languages. For info on how to use it, run

    poetry run python load_words.py --help
  5. Run the development server

    poetry run flask run
  6. If using VS Code, do the following to use the right virtual environment

    poetry shell
    code .

    Then select the correct virtual environment with the Python: Select Interpreter command

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •