Documentation for Prowriters


Installation


Before installing the application make sure that your server meets all the requirements

Using Installation Wizard

1. Setup Database
  • Login to your hosting cPanel and navigate to MySQL Databases
  • Create database.
  • Create a user and set up password for the user
  • Give the user permission to execute the database queries
  • Make sure you have checked All privileges  when assigning the permissions.
2. Upload files and setup Document Root
  • Log in to your cPanel.
  • Open File Manager and navigate to the root directory where the public_html folder is located.
  • Click Upload, select prowriters_v2.1.zip, and upload it.
  • Once the upload is complete, right-click on the file and choose Extract.
  • After extraction, you will see two new folders: prowriters and public, along with your server's public_html directory.
  • Move all files from the public folder to the public_html directory, then delete the public folder.
  • By now, you should have the prowriters and public_html folders in the same directory.
  • Open your browser and go to http://yourdomain.com/install to complete the setup.
That's it. You are now ready to procceed the next step.
3. Installation

By this time you should be able to see the installation page

  • The first page of the installation process checks and shows if your server meets the requirements of the application to run. Click Next if everything is alright. However, if any required php extension or folder permission is missing you have to take steps accordingly. If you do not have access rights to the system you might need to contact your hosting provider solve it for you.
  • Enter your database access information, Check if the base URL is correct and click on Connect Database
  • Now click Install
  • If the installation is successful you will see a message and a login button. Click the button to go to the login page. Use the following credentials to access the software.
  • Email Password
    admin@demo.com 123456
  • In case the installation was not successful, it will provide a link to a file for you to download which will contain information about what went wrong. Open the file and see if it’s something that you can resolve, if not then please contact us with the file.

Using Artisan Command (For developers)

Create a database first. Then upload the files to your server and enter the database information in the .env file that comes with the application( You will find it in the root directory of the application). In case you cannot see the env file, please turn on "View hidden files" from your cpanel settings option. Now run the following artisan commands:

php artisan migrate
php artisan db:seed
php artisan db:seed --class=UsersTableSeeder
php artisan key:generate
php artisan storage:link

Make sure your domain's document root is the public folder of the application. Now go to yourdomain.com/login and use the following credentials to login.

Email Password
admin@demo.com 123456

If you need to have dummy content for testing the application, run the following artisan command

php artisan prowriters:dummy-data