Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Crossword Crocodile backend

Description

A custom crossword maker. Enter your word into an elegant and verdant interface, and millions of calculations will check against a word bank of thousands to create complete crossword grids to your specifications.

Instructions

This backend is live on Heroku.
The frontend counterpart can be found here.
The live site is on Netlify.
You can also download this repository and run the project locally by following these steps:

  1. Clone this repository with git clone https://github.com/chicorycolumn/Cook-Up-A-Crossword-BE
    If you are unsure what this means, instructions can be found here or here.

  2. Open the project in a code editor, and run pip install -r requirements.txt to install necessary packages.

  3. Run python main_with_itertools.py to run the project.

  4. Use an API testing tool like Insomnia to test the endpoints of this project, by sending http requests to http://localhost:5000.

Deploy

General instructions for taking a Python project and hosting it on Heroku for automatic deployment are as follows:

  1. Ensure the project is initialised in a Git repository. If you are unsure what this means, instructions can be found here and here.

  2. Install the Heroku CLI if not already, with pip install heroku.

  3. Run these three commands:

  • heroku login
  • heroku create my-awesome-app --buildpack heroku/python
  • heroku git:remote -a my-awesome-app
  1. Login to Heroku and enable automatic deploys from Github, and connect the repo.

  2. Ensure the requirements.txt file is up to date, with pip freeze > requirements.txt.

Now when you commit and push to Github, Heroku will deploy the latest version of the project automatically.

Built with

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages