My Manga Reader CMS v2.0

Follow this guide to install or update the v2 of the script


Installation

the version 2.0 of the script is based on Laravel framework version 5.4, you will need to make sure your server meets the following requirements:

A verfication of thos extension will be done automatically by the script during the installation process.

You can follow one of thos two choices:

  1. mymangacms_base inside public folder

- Copy the content of the folder upload/public to your domaine folder (e.g. public_www, www, public, ...)

- Copy the folder upload/mymangacms_base to your domaine folder (e.g. public_www, www, public, ...)

You should have this structure :

  1. mymangacms_base in the parent folder (private area)

- Copy the content of the folder upload/public to your domaine folder (e.g. public_www, www, public, ...)

- Copy the folder upload/mymangacms_base to the parent folder of your domaine 

You should have this structure :

after that you need to edit the index.php file, and comment or delete lines 4 & 5 and uncomment lines 8 & 9, like this :

You can now start the installation by navigating to your domaine :

After clicking on "Start" the installation will begin, and this will take upto 1m30, just be patient.

 

Update
Firstly backup your database, and don't forget to upgrade your PHP to version >= 5.6
  1. Adapt the old database to the new structure:

execute the SQL scripts in update folder, one by one in phpmyadmin in this order :

01_create_new_tables.sql

02_migrate_structure.sql

03_constraints.sql (this may take a time to be executed, depending of size of data you have, you can execute each commented area separetly: ids, index & constraints)

04_new_data.sql

be sure that the option "Enable foreign key checks" is disabled if you have it in your phpmyadmin, if you dont have this option don't worry, a similar instruction is added in scripts and you can start executing scripts.

  1. Edit the file upload/mymangacms_base/.env 

APP_NAME='My Manga Reader CMS' <-- put your website name inside quote
...
APP_URL=http://localhost <-- your website URL
 
and database connection here:
DB_HOST=localhost     <- keep localhost if database is on the same server
DB_PORT=3306
DB_DATABASE=test     <- db name
DB_USERNAME=root   <- user
DB_PASSWORD=pwd  <- pwd
 
thos are the default slugs, that you edit here
ADMIN_PREFIX=admin
AUTH_PREFIX=auth
MANGA_SLUG=manga
POST_SLUG=news
 
  1. Copy the file update/installed to upload/mymangacms_base/storage
  1. Copy files like descriped in the section above "install > copy files", if you choose first option rename your old mymangacms_base before you start copying (your website will be unavailable until you finish the copy).
  1. Continue the update from dashboard:

Connect to your dashboard from this URL youdomain.com/auth/login

Goto configuration > subscription & click "Update" button (this will update the .env file)

If you have other roles goto "Roles" and re-adapt them to the new structure.

If you use captcha, goto configuration > general > captcha tab and follow instructions.

 

ADMIN_PREFIX=admin
AUTH_PREFIX=auth
MANGA_SLUG=manga
POST_SLUG=news
 
  • The script support the HTTP and HTTPs scheme, one last thing to do for serving images with https url, edit mymangacms_base/.env file :

APP_URL=http://mydomain.com

or like this, to support both http & https 

APP_URL=//mydomain.com

  • If you want to change your database information, edit mymangacms_base/.env file :
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=test
DB_USERNAME=root
DB_PASSWORD=pwd

Thank you for purchasing this application.

If you have any questions, suggestions, feedbacks, please feel free to email via my user page.

Your vote will be greatly appreciated!

Thanks so much! :)