Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.
/ news_portal Public archive

Simple News Portal designed using PHP Codeigniter Framework

Notifications You must be signed in to change notification settings

umairqamar/news_portal

Repository files navigation

News Portal

Simple News Portal designed using PHP Codeigniter Framework

  1. Database Initialization

    • Import db.sql file in your MySQL database
    • If you are using PhpMyAdmin,Click on home button,then click on import button(top bar),then Click on Choose File button and choose db.sql file and click on Go button at the bottom
    • The sql file will create a database named news_portal and load all the tables in it
    • If table or database already exist this will truncate existing database and table and insert them again
  2. Virtual host

    • This project is deployed on a virtual host,for this project to work properly virtual host must be created
    • newsportal.dev is virtual host address
    • If you are using XAMPP on windows follow the instructions below
    • Open file \apache\conf\extra\httpd-vhosts.conf
    • Add the following code at the end of file replacing your XAMPP directory
    	<VirtualHost *:80>
    	DocumentRoot "<Your XAMPP directory>/htdocs/news_portal"
    	ServerName newsportal.dev
    	</VirtualHost>
    • Now we need to edit windows host files
    • Open C:\Windows\System32\drivers\etc\hosts
    • Add the following lines at the end of document 127.0.0.1 localhost 127.0.0.1 newsportal.dev
  3. PHP mailer configuration

About

Simple News Portal designed using PHP Codeigniter Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published