| 1 | = How do I make my site a Drupal site? = |
| 2 | |
| 3 | If you already have an existing site setup at May First/People Link, you should [/newticket open a new ticket] asking to have a separate site setup 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 | == Notes for MFPL administrators == |
| 19 | |
| 20 | You can no longer run mf-drupalize as the root user. |
| 21 | |
| 22 | Instead, first create the database by running `mf-mysql-create` (as root). Then: |
| 23 | |
| 24 | {{{ |
| 25 | su <user-that-owns-web-site-to-be-created> - |
| 26 | mf-drupalize |
| 27 | }}} |
| 28 | |
| 29 | Press n when prompted to create the database. |