1 Restrucure web directories
1.1 New structure
- /code/wwwweb
- /public_php
- /ams
- /login (www)
- /ring (www)
- /tools (www)
- /outpost (reserved, www private)
- /stats (reserved, www private, needs replacement)
- /admin (admin nel_tool)
- /setup (*new*)
- /api (from /code/web/api)
- /app (from /code/web/app)
- /webtt (from /code/www/public_php/webtt)
- /private_php
- /ams
- /node_js (future use)
- /sql (reference database dumps)
- /docs
- /ams (/code/ryzom/tools/server/ryzom_ams_docs)
- /admin (/code/ryzom/tools/server/admin/docs)
- /public_php
...
- Admin Tool Database name (nel_tool)
- (only on first setup) Admin username (can ignore this, just use default guest that's in the database sql dump for now)
- (only on first setup) Admin password (can ignore this, just use default guest that's in the database sql dump for now)
5.2.4 AMS configuration
- AMS Database name (core_ams?)
- AMS User Databaes Database name (core_ams_user?)
- AMS Admin username
- AMS Admin password (see ams installer script how this works)
5.2.5 (only on first setup) Setup configuration
- Setup password (to lock the setup with a password, in case we make it possible to have it re-run)
5.3 Page with installation result
User receives useful installation result messages, with nice green OK text for every installation step that went ok.
What needs to be done, basically...
- There are scripts in /code/web/temp_cfg
- config.php is the config that needs to be generated by the setup script, the setup generates this in public_php
- admin/config.php and login/config.php need to be rewritten to grab the values from the main config.php, and moved back into public_php, so that these are not generated (only the main config.php will be generated)
- There are sql database dumps in /code/web/sql
- only nel and nel_tool need to be applied to the database
- maybe create_webig as well
- NOT ring_domain
- The setup tool shall be under /code/web/public_php/setup/index.php and not depend on any other file than the config it may already have generated in case of config modifications