chintan39 / wildblog

Automatically exported from code.google.com/p/wildblog
Other
0 stars 0 forks source link

Test environment (5h) #245

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We need to use some test environment (maybe db, file structure) to test 
everything without real data.

General prefixed tables can divide between current/test DB. Routing to copy 
current to copy. 

Same copy allow to project directory.

Alert when much data should be copied.

Do not use links (windows doesn't use them).

Allow to use another app engine. 

One script can handle copying back (during copying page is turned off).

Test mode is defined in url somehow and is preserved in links.

Original issue reported on code.google.com by horak.honza@gmail.com on 29 Sep 2011 at 11:24

GoogleCodeExporter commented 9 years ago
In url it is simply defined www.example.com/posts/?__test__

Original comment by horak.honza@gmail.com on 29 Sep 2011 at 11:28

GoogleCodeExporter commented 9 years ago
Updater script can do the following:
* detect new test app directories and list them (new app structure: 
app-0.6-testing)
* detect if switching is possible (file permissions check)
* turn site off
* rename app->app-0.5-obsolete, version number is read from config
* rename app-0.6-testing->app
* turn site on

Original comment by horak.honza@gmail.com on 1 Oct 2011 at 6:27

GoogleCodeExporter commented 9 years ago
Once Smarty variable "DbMode" is set, then a popup message will be printed 
somewhere to let user know, he is working with test environment. JS can handle 
that when hover, it will move somewhere... up...

Original comment by horak.honza@gmail.com on 9 Oct 2011 at 11:57

GoogleCodeExporter commented 9 years ago

Original comment by horak.honza@gmail.com on 12 Nov 2011 at 9:13