This is a Python Flask App that crawls different sites for words and their definitions and then generates an many crosswords as possible in the given time, then displays the best one.
####To see the output click Here
To run this app on your local machine :
-
Clone this github
$ git clone https://github.com/Arsh23/random-crossword-generater.git crossword-app $ cd crossword-app
-
create new virtual environment
$ sudo pip install virtualenv $ virtualenv venv $ source venv/bin/activate $ pip install -r requirements.txt ```
-
To run the server:
-
Excecute this command:
$ uwsgi --http-socket 127.0.0.1:5000 --module app --callable app --enable-threads
-
now the website can be accessed on 127.0.0.1:5000/
-
-
To run just the crossword script without the server or interface:
-
open python console :
$ python
-
run these commands :
>>> from classes import * >>> import code as code >>> code.main()
-
- python 2.7
- flask 0.10
- beautifulsoup 4.4.1
- requests 2.9.1
- uWSGI 2.0.12
- jquery 2.1.4
- bootstrap 3.3.6