Skip to content

pyta-uoft/pyta-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PythonTA server

Running the server

  1. Clone this repository: $ git clone https://github.com/pyta-uoft/pyta-server.git.
  2. Go into the project directory: $ cd pyta-server.
  3. Install the package dependencies: $ python -m pip install -e ..
  4. Install PostgreSQL, and set the environment variables POSTGRES_URL, POSTGRES_USER, POSTGRES_PW, POSTGRES_DB relative to your server credentials.
  5. Set the FLASK_APP environment variable: $ export FLASK_APP=pyta_server (on OSX/Unix) or $ set FLASK_APP=pyta_server (on Windows).
  6. Run flask: $ flask run.
  7. In a web browser, enter 127.0.0.1:5000 into the address bar.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages