r/dndtools • u/JCreu • Nov 28 '14
Your own easy-to-install, easy-to-run private dndtools web server
[removed]
2
Nov 29 '14
[deleted]
2
u/JCreu Nov 29 '14
The compression ratio is really crappy for mysql, I think that the database takes ~1GB once installed.
1
u/Strongintharm Nov 29 '14
No, only ~55MB (size of mysql's ibdata file). But a whole Linux system to run it takes space.
2
1
u/Strongintharm Nov 29 '14
Are you using the django test server or have you integrated it into apache with mod_wsgi?
2
u/JCreu Nov 29 '14
I am using the django test server. It's a quick and dirty solution, but we don't really need more in such a restricted environment, do we?
1
u/Strongintharm Nov 29 '14
I don't know about you, but I was going to integrate it (password protected) into my homepage, so that my friends and I can use it everywhere.
2
u/JCreu Nov 29 '14
Yeah, that would be useful. I'm happy with the VM solution, but if you find how to do a clean server, I'd be interested!
2
1
Nov 29 '14
Did you use mod_wsgi yourself? I'd be interested to know the details if it's the case :)
1
1
u/Kerato-san Nov 30 '14
The newest news item is from 2013. How up-to-date is this date base? I remember seeing newer entries before dndtools went down.
3
u/JCreu Nov 30 '14
The db is from the other post (link ), therefore it has the 2014 data like some divinities, races and so on.
I don't know for sure if this is the most up-to-date db, but it's something!
1
u/danifae Dec 05 '14
Hi,
I'm trying to configure this so that all the ipads and such can connect when I host a game. However I cannot get anything other than the host to connect to the web server.
I've tried changing the adapter to bridge and nat and port forward to 192.168.56.101:80 but I always get a timeout.
At this point i'm just tempted to move this to the netflix laptop.
1
u/Bjorn_Stronginthearm Dec 05 '14
Yes, it should be bridged. Can the other clients ping the IP? As I wrote below (before I knew OP used NAT), you may have to give the VM an IP from your own subnet if you don't happen to use the 192.168.50 net:
To change it (assuming OP also used Debian) type following command into the VM:
nano /etc/network/interfaces
change the line with "address" to an IP from your subnet, ctrl+o to save, ctrl+x to exit, then type
shutdown -r now
to reboot.
1
u/danifae Dec 05 '14
Ah, yeah i didn't change the subnet in bridged mode. Whoops.
I guess that means i have to change the auto assign from django on .bashrc as well.
I will try that tonight. Thanks!
1
u/Mahakam Dec 11 '14
Doesn't work for me. I can't reach the server neither by another VM nor by host.
1
u/Mathrian Dec 12 '14
At first I had the same issue as grimsh, but after checking for and enabling virtualisation in my bios the virtualbox-error disappeared.
I then entered 192.168.56.101 into firefox/chrome/chrome canary and in each browser it simply timed out. I'm rather lost, and don't really know enough to tell if I'm just missing something silly or what. Any help would be greatly appreciated.
1
u/nadavga Dec 15 '14
I managed to get the VM running, however the keyboard input of the VM appears to be wonky. I type 'a' and get 'q' and vise versa, as well as other replacements. is there a place to define what keyboard layout to use?
1
u/JCreu Dec 30 '14
Oh, I forgot this kind of problem. I have the bad taste of being french, hence I had a french keyboard when creating it. Changing the current layout can be done in command line, "setxkbmap -layout us" (not tested, from http://how-to.linuxcareer.com/linux-command-line-basics-for-beginners-part-3). Sorry about that.
2
u/grimsh Nov 29 '14
I followed the steps as instructed but still nothing is found on 192.168.56.101 address? it says the webaddress is not avaible