Skip to content

Installation

MadsenDev edited this page Apr 22, 2023 · 1 revision

Installation Guide for Writivate

Step 1: Create a Database

Before you can install Writivate, you'll need to create a new database on your server. This can typically be done using a tool like phpMyAdmin or a command line interface like MySQL.

Step 2: Import the install.sql File

Once you've created a database, you'll need to import the install.sql file from the 'install' folder into your database. This file will create the necessary tables and other components for Writivate to function properly.

Step 3: Add a Rank and User

Next, you'll need to add a rank to the 'ranks' table in your database. This will allow you to create a new user with the necessary permissions to use Writivate. You can then add a new user directly in the 'users' table or by registering on the site itself.

Step 4: Create a .htaccess File

Before you can use Writivate, you'll need to create a .htaccess file in the root of the project directory and add the following lines:

SetEnv DB_HOST "localhost"
SetEnv DB_USER "<database user>"
SetEnv DB_PASSWORD "<database password>"
SetEnv DB_NAME "<database name>"

Be sure to replace , , and with the actual values for your database.

Step 5: Upload Files to Server

Finally, you'll need to upload all of the Writivate files to your server. This can typically be done using an FTP client or file manager in your web hosting control panel.

That's it! With these steps completed, you should be able to access Writivate on your server and start creating and managing your own content.