Skip to content

Any guides for deploying to PythonAnywhere? #948

Answered by Jefficus
Jefficus asked this question in Q&A
Discussion options

You must be logged in to vote

After chasing my tail for a full day, digging into server logs, config files, and source code, I've finally got a simple setup that seems to be working. So in the very great likelihood that I'll completely forget how I did it and be asking the same question a month from now, I'll document the important bits here.

  1. Create the PA webapp and choose Custom configuration.
  2. Launch a bash shell on PA
  3. Create a virtualenv. (I called mine: venv-isso)
  4. Activate the virtual env: source venv-isso/bin/activate
  5. Install isso: pip install isso
  6. At top level of my user files (/home/USERNAME/) create isso.cfg setting whatever behavioral options you want.
  7. The important bit was to give dbpath a local file path t…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ix5
Comment options

Answer selected by Jefficus
Comment options

You must be logged in to vote
1 reply
@Jefficus
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
support Someone asking for support -> Should be moved to GitHub Discussions docs Documentation of the project
3 participants