By huijing on
I have installed twamp on my usb flash drive but I would like to have a copy of the drupal site i'm working on on my local machine on the flash drive as well? what files do I need to copy to do so?
I have installed twamp on my usb flash drive but I would like to have a copy of the drupal site i'm working on on my local machine on the flash drive as well? what files do I need to copy to do so?
Comments
You need some things
Thirst, configure your server (I never see the twamp, but use a portable xamp), to run apache 2.x, php 5,2 or above and MySQL 5.x or above.
Then create the database and user in the MySQL server (you can use phpmyadmin). Notice that the name of the database and the user must match with the one you have in your drupal server, otherwise you have to edit the default.settings.php inside the folder sites/default.
Export your drupal database of your drupal server (you can use phpmyadmin again), and then import it in your twamp server.
Your last step is copy the entire drupal folder (not the base folder, just all archive and folder inside the base folder) in your twamp site folder, must be something like www or htdocs.
Open your browser (I really hope you are not using Internet explorer, for god sake) and type http://127.0.0.1 or http://localhost/
It must work, I have used in a server2go, dwebpro and and in a portable xamp. Some times you have to configure the server to allow clean url, and create virtual host (vhost) if you are using a multisite installation.
I hope it help and excuse my English please.