The steps to run the Game design elements shared in this repo is as follows.
- Install 'virtualenv' if not present by 'pip install virtualenv'
- Create new environment for project by 'virtualenv flaskapp'
- Activate the environment 'source flaskapp/bin/activate'
- Install following packages using 'pip install <package_name>'
- flask
- flask-sqlalchemy
- flask-autodoc (not used)
- flask-jsonpify
- sqlalchemy-migrate
- flask-blueprint
- flask-cors
- Go to srcGDE folder.
- Run using 'python runserver.py'
- To run the srcApplication folder. Run the folder directly with any server which can serve html file.
- Change the backend urls inside file according to your use.
Example:
- sudo php -S 0.0.0.0:800
- sudo python -m SimpleHTTPServer