gmoore Posted January 7, 2013 Share Posted January 7, 2013 Could you (if you have time). Define which tables you consider CORE (I mean necessary to run the site) and which modules you consider CORE (needed to run the site). I was going to delete all the modules and tables until I got something running that does 'nothing'. Possibly have a subdirectory of 'Core' that mimicks the 'Module' directory but has code that must be included but could be updated separately from the main system. Greg Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted January 7, 2013 Share Posted January 7, 2013 You could check the free version as it's nearly the core. However I will check and give you back a better list tomorrow. Quote Link to comment Share on other sites More sharing options...
gmoore Posted January 7, 2013 Author Share Posted January 7, 2013 That would be most kind. Is the free version close enough I could use it as a baseline? Greg Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted January 7, 2013 Share Posted January 7, 2013 Yes it's close enough. You lack some stuff like the security and the caching (which could be skipped), and other you may not want in this form but it's nearly the core. Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted January 8, 2013 Share Posted January 8, 2013 That's what I would consider the base or nearly, however some pieces could be modified like the home / welcome [TABLE=width: 100%] [TR] [TD]Core tables: users, bad_trials user_roles roles user_stats user_stat_types user_variables variables modules object_types object_types_attributes objects object_attributes inventory slots slot_type_accepted equiped module_config_values [/TD] [TD]Core modules: admin_edit_config admin_edit_tables admin_import_package admin_module_manager admin_panel admin_side_panel change_password home inside_menu login logout public_menu recover_password register security_token stats welcome [/TD] [/TR] [/TABLE] + 1 template ;) Quote Link to comment Share on other sites More sharing options...
gmoore Posted January 8, 2013 Author Share Posted January 8, 2013 Awesome. This is VERY helpful. Thank you! Greg Quote Link to comment Share on other sites More sharing options...
gmoore Posted January 10, 2013 Author Share Posted January 10, 2013 NWE Minimal Version I just finished an NWE minimal version. It took about 2 hours, which was mostly finding things I didn't know the location of. This is so you can reproduce the work if you need. There were a couple things different from Alain's very helpful post above. Step 1: Create new DB and copy over the following tables That's what I would consider the base or nearly, however some pieces could be modified like the home / welcome Core tables: users, bad_trials user_roles roles user_stats user_stat_types user_variables variables modules object_types object_types_attributes objects object_attributes inventory slots slot_type_accepted equiped module_config_values Files not mentioned by Alain but needed: 1) Bugs (index.php requires this for writing bugs out) 2) module_manager_ignore (admin_panel requires this table) Step 2: Create a new web directory copying over only the following modules to the modules directory: Core modules: admin_edit_config admin_edit_tables admin_import_package admin_module_manager admin_panel admin_side_panel change_password home inside_menu login logout public_menu recover_password register security_token stats welcome Module not mentioned by Alain but needed: 1) level_handler.php (user_stats table was expecting the ExpPercent routine) Step 3: Change your config file to match the new directory and db. Step 4: Of course test Some Notes: - I did not want to make any coding changes so I added the level_handler only because it was called in a table. - The only table changes I made where in module and module_config_values to remove modules not included. - I didn't do EXTENSIVE testing but it looks like everything checks out. At least 1 clicked through everything. The reason I did this was to be able to start with a baseline that would be free of 'extra' things so that I can decide on a case by case basis if I needed/wanted a module. My definition of minimal will be completely changing as I add some more modules I consider minimal (table editting for example). I wanted to write this before I get too involved changing from here. It is my hope NWE becomes a minimal system in the future that we can opt into installing modules like we opt into upgrading modules. Seems easier to me but you decide for yourself. Thank you for listening to my diatribe. Greg Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted January 11, 2013 Share Posted January 11, 2013 Well we could very well offer a "core" code, simply, it seems on this forum that the "more is better". Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.