| 3 | | If you already have an existing site setup at May First/People Link, you should [wiki:create_hosting_order create a new hosting order] for your Drupal installation. Then, you can more easily migrate your existing site to your new Drupal site. |
| 4 | | |
| 5 | | If you are starting from scratch, you can enable Drupal by following these directions: |
| 6 | | |
| 7 | | * [wiki:secure_shell Secure shell] to your primary server. |
| 8 | | |
| 9 | | * Run the command: |
| 10 | | {{{ |
| 11 | | mf-drupalize |
| 12 | | }}} |
| 13 | | |
| 14 | | You will be prompted to create a database and database user (be sure to record the names of the database, database user, and database password). |
| 15 | | |
| 16 | | When you are done you will be prompted to open a web browser to complete the installation. |
| 17 | | |
| 18 | | == How to I remove a Drupal installation? == |
| 19 | | |
| 20 | | We do not have an automated way to remove a Drupal installation. |
| 21 | | |
| 22 | | You can do it manually by following these steps. |
| 23 | | |
| 24 | | * Change into your web directory |
| 25 | | * Remove the following files and directories: |
| 26 | | {{{ |
| 27 | | .htaccess |
| 28 | | cron.drupal.php |
| 29 | | cron.php |
| 30 | | includes |
| 31 | | index.drupal.php |
| 32 | | index.php |
| 33 | | install.drupal.php |
| 34 | | install.php |
| 35 | | misc |
| 36 | | modules |
| 37 | | profiles |
| 38 | | scripts |
| 39 | | sites |
| 40 | | themes |
| 41 | | update.drupal.php |
| 42 | | update.php |
| 43 | | xmlrpc.drupal.php |
| 44 | | xmlrpc.php |
| 45 | | }}} |
| 46 | | * Please post a ticket to have your database dropped for you. |
| 47 | | |
| 48 | | == Notes for MFPL administrators == |
| 49 | | |
| 50 | | You can no longer run mf-drupalize as the root user. |
| 51 | | |
| 52 | | Instead, first create the database by running `mf-mysql-create` (as root). Then: |
| 53 | | |
| 54 | | {{{ |
| 55 | | su <user-that-owns-web-site-to-be-created> - |
| 56 | | mf-drupalize |
| 57 | | }}} |
| 58 | | |
| 59 | | Press n when prompted to create the database. |
| | 3 | Please use the [https://members.mayfirst.org/cp Members Contol Panel]. Select the "Web Apps" tab and then click Add new item. |