Creating a sandbox / test project
Posted: 09 Nov 2017, 02:52
I'd like to create a test project where new users can experiment. This should be a sandbox that's separated from other projects to avoid tests from showing in lists, effectiveness, etc. I'd like to avoid creating a completely separate environment but it looks like this might be the best option for this purpose.
Rather than duplicating the server code and creating a new database, I'd rather create a separate instance that runs off the same code and db, just with different tables. I have added a prefix to table names for this purpose. I'm just not sure how to wire this up properly with the folders, symlinks, configs, etc.
So foo.com/my_view_page.php is already mapped to bt1_tables and I'd like to get foo.com/test/my_view_page.php to use test1_tables without copying all of the files into that test folder.
Tips?
Thanks.
Rather than duplicating the server code and creating a new database, I'd rather create a separate instance that runs off the same code and db, just with different tables. I have added a prefix to table names for this purpose. I'm just not sure how to wire this up properly with the folders, symlinks, configs, etc.
So foo.com/my_view_page.php is already mapped to bt1_tables and I'd like to get foo.com/test/my_view_page.php to use test1_tables without copying all of the files into that test folder.
Tips?
Thanks.