Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
CoNekT/docs/run_website.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
20 lines (11 sloc)
558 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CoNekt Website | |
CoNekt is a flask app, all that is required to start the website is running. Note that the virtualenv needs to be | |
set up and activated. | |
python run.py | |
or using [cli](http://flask.pocoo.org/docs/0.12/cli/) | |
export FLASK_APP=run.py | |
flask run | |
# or | |
python -m flask run | |
This will run the website on port 5000 on localhost. Using an SSH tunnel this can be accessed remotely. | |
To run this permanently on a server check the web on how to host a flask app using [apache2](./apache_wsgi.md), nginx or supervisor. |