Smart Health System, LAMP Stack
Since it is dynamic web based system, it requires to be hosted on a server. I used localhost to host the system. For localhost, I am using WAMP Server.
Follow the steps below to configure and run the code.
- Create a new directory under 'wamp/www' and paste all the files from the root.
- Start WAMP server services.
- Wait for the WAMP server to change the icon color to green.
- Open your browser, preferably Chrome.
- Enter in the url: 127.0.0.1 or localhost. A localhost page will show up.
- Either choose PHPMyAdmin manually or enter url: 127.0.0.1/phpmyadmin
- You will be directed to a database manager, PhpMyAdmin. It is used for creating and managing databases.
- Click ‘New’ and enter ‘capstone’ in the Create database field. Hit Create.
- A new database must have been created and listed on the left. Click/Select it.
- On the right section of the manager, click on the tab Import.
- Select the file ‘capstone.sql’ from the root directory.
- You have successfully completed the setup.
- Enter this url in your browser ‘127.0.0.1/{whatever you named your directiry in step 1}/login.php’
- Enjoy!