Was curious if anyone who has played around with realms-wiki on pythonanywhere could give me any tips . Pip installs it no problem, and it looks like we (pyany) have all the pre-reqs covered. Also I think waliki at pyany is using this. Anyway, I'm going to start looking for the configuration files and try to figure out how this attaches to a mysql dbase.


Let us know how you get on. And, we're here if you get stuck!

Thank you Harry, useful after pip install

$ realms-wiki --help 
$ realms-wiki setup     # creates a json file in the home dir

"""(comment under construction)""" comming back to this I find now when I run the above command

    OSError: [Errno 20] Not a directory: '/var/www/'

which is not that intuitive, neither was looking at every other file in the stack trace or Googling for that error, or looking at log files. So I'm out of time for now and will have to contemplate my next move. Maybe it's a wsgi misconfiguration, maybe reinstalling will help idk.

ok I found this

For anybody else having problems like this -- OSError, or problems with imports -- one thing to try is rebuilding a new virtualenv.

recipe to make this work.
1) mkvirtaulenv and pip install realms-wiki
2) run $ realms-wiki setup
3) created the dbase
4) modified the wsgi file with [link][1]. scroll down to Create /var/www/my-realms-dir/
put the correct path to your site packages directory (VENV_SITE_DIR = "/home/yourname/.virtualenv/lib/python2.7/site-packages) and uncomment it.
uncomment the next two lines after that
5) Make sure your dns record points to the correct ip. This can be accomplished with $ dig your domain here, find out who owns the IP address using $ dig -x your ip, go to your registrar and point it to your server.
Note: for each new subdomain repeat process
6) wait for ttl to time out and enjoy



my pleasure, I hope someone finds it useful. I think the wiki design is very clean and attractive. I still have a number of things to figure out.

maybe when all is said and done I will be able to contribute to a more clear instructional on my wiki.

I found that in the default configuration setup, realms-wiki puts all the files in /tmp/ .

CSRF and XSS vulnerabilities found in realms-wiki, full disclosure. I can validate that using a 'for loop' in the described method will create numerous pages we did 500.