Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Community
General Tabletop Discussion
*Geek Talk & Media
setting up a local dndtools mirror
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Stronginthearm" data-source="post: 6448815" data-attributes="member: 6786296"><p>Disclaimer: I own literally every D&D 3.0/3.5 source book (some 5 foot of shelf space), so I don't intend to disrespect anybody's IP rights.</p><p>Also I hope this is the right forum, since the topic is somehow D&D, but mostly technology.</p><p></p><p>So yeah, dndtools.eu is down, which sucks because it was an awesome site if you didn't wanted to dig through all of your books to find that one feat. </p><p>Fortunately the sourcecode of the site is available (linked on the site) and one can find at least two versions of the site database at dropbox (mysql from 2013 and sqlite from 2014) and since I like both D&D and computers I tried to set up a local mirror for myself. </p><p>Unfortunately I know primarily linux and secondarily php but not python (or django), so it kind of works, but not quite *sigh*.</p><p></p><p></p><p>So my question is, has anybody managed to properly install it?</p><p></p><p>If somebody want's to try his/her luck, this is what I've done so far (basically the installation instructions from github):</p><p></p><p>- Debian Wheezy, python and some addons installed via apt</p><p> - python</p><p> - python-imaging</p><p> - python-textile</p><p> - python-mysqldb</p><p> - python-sqlite</p><p> - python-recaptcha</p><p>- django and addons installed via pip:</p><p> - Django==1.2.7</p><p> - South==1.0.1</p><p> - django-debug-toolbar==0.9.4</p><p> - django-pagination==1.0.7</p><p> - recaptcha-client==1.0.6</p><p>- django-reversion 1.3.3 installed via git-checkout and setup.py install (since the newest version in pip was 1.5.1)</p><p>- imported the 2013 mysql-db: mysql -u root -p -h localhost dndtools < dndtools_prod_backup_2013_03_02_clear_accounts_no_reversions.sql</p><p>- git clone the dndtools</p><p>- edited the db settings in local.py</p><p>- finally python manage.py runserver</p><p></p><p>...and now I have on port 8000 something that looks like dndtools (except for exceptions when I click on magic or bestiary) ... and that's about as far as I get.</p><p></p><p>I still have the following problems:</p><p>- I guess the remaining exceptions result from wrong versions of a component, I'll iterate about the possible combinations a bit, but if anybody knows which versions exactly to use, I'd be happy to hear</p><p>- how do I embed a django project in my normal apache? manage.py runserver on port 8000 can not be the real solution</p><p>- the github install file mentions a reset of the admin account, but when I try "users = User.objects.all()" on the django shell I get "NameError: name 'User' is not defined"</p><p>- also I don't see where I could log in on that site</p><p>- I don't know how complete the 2013 db is, so I'd like to try the 2014 db, but it's sqlite. I've managed to dump the db to sql and ran it through a converter python script, so it should now be mysql compatible, but it isn't, mysql doesn't like the CONSTRAINT or REFERENCE syntax of the tables, but I don't see why</p><p>- alternatively I tried to reference the original sqlite file in the local.py, but that breaks the site</p><p></p><p>Any input is greatly appreciated.</p></blockquote><p></p>
[QUOTE="Stronginthearm, post: 6448815, member: 6786296"] Disclaimer: I own literally every D&D 3.0/3.5 source book (some 5 foot of shelf space), so I don't intend to disrespect anybody's IP rights. Also I hope this is the right forum, since the topic is somehow D&D, but mostly technology. So yeah, dndtools.eu is down, which sucks because it was an awesome site if you didn't wanted to dig through all of your books to find that one feat. Fortunately the sourcecode of the site is available (linked on the site) and one can find at least two versions of the site database at dropbox (mysql from 2013 and sqlite from 2014) and since I like both D&D and computers I tried to set up a local mirror for myself. Unfortunately I know primarily linux and secondarily php but not python (or django), so it kind of works, but not quite *sigh*. So my question is, has anybody managed to properly install it? If somebody want's to try his/her luck, this is what I've done so far (basically the installation instructions from github): - Debian Wheezy, python and some addons installed via apt - python - python-imaging - python-textile - python-mysqldb - python-sqlite - python-recaptcha - django and addons installed via pip: - Django==1.2.7 - South==1.0.1 - django-debug-toolbar==0.9.4 - django-pagination==1.0.7 - recaptcha-client==1.0.6 - django-reversion 1.3.3 installed via git-checkout and setup.py install (since the newest version in pip was 1.5.1) - imported the 2013 mysql-db: mysql -u root -p -h localhost dndtools < dndtools_prod_backup_2013_03_02_clear_accounts_no_reversions.sql - git clone the dndtools - edited the db settings in local.py - finally python manage.py runserver ...and now I have on port 8000 something that looks like dndtools (except for exceptions when I click on magic or bestiary) ... and that's about as far as I get. I still have the following problems: - I guess the remaining exceptions result from wrong versions of a component, I'll iterate about the possible combinations a bit, but if anybody knows which versions exactly to use, I'd be happy to hear - how do I embed a django project in my normal apache? manage.py runserver on port 8000 can not be the real solution - the github install file mentions a reset of the admin account, but when I try "users = User.objects.all()" on the django shell I get "NameError: name 'User' is not defined" - also I don't see where I could log in on that site - I don't know how complete the 2013 db is, so I'd like to try the 2014 db, but it's sqlite. I've managed to dump the db to sql and ran it through a converter python script, so it should now be mysql compatible, but it isn't, mysql doesn't like the CONSTRAINT or REFERENCE syntax of the tables, but I don't see why - alternatively I tried to reference the original sqlite file in the local.py, but that breaks the site Any input is greatly appreciated. [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*Geek Talk & Media
setting up a local dndtools mirror
Top