Skip to content

Tgis is a project for our Software Engineering class. A Course in our Information Technology

Notifications You must be signed in to change notification settings

VanJoshElanium/SAD2

Repository files navigation

HOW TO LARAVEL W/ SAD-BOIZ

/* FOLLOW ALL STEPS IF YOU ARE USING LARAVEL FOR THE FIRST TIME */
/* IF NOT, FOLLOW STEPS: #2 AND #'s 4-11 */

1. Download Wamp Server (http://www.wampserver.com/en/)
    - Set up Wamp to your preffered location, text editor, and web browser.
    - After setup and installation, run the application.
    - Check your taskbar for a WAMP icon, it should be GREEN.
    - Click on icon, go to the 'Apahce' folder -> httpd.conf
    - Control F (Find) and search for 
      - 'localhost'
        - Change the port number from 80 to 8080
      - 'listen'
        - Change the port number from 80 to 8080
    - Navigate to the 'PHP folder' -> Versions -> 7.1.9
    - Restart WAMP services, after a while, the icon should be GREEN.
    
2.) Go to your web browser and type in, localhost:8080/phpmyadmin/
     - Create a new database called 'pp'
     - If you already have a db called 'pp', delete all tables in it
     
3.) Download Composer (https://getcomposer.org/Composer-Setup.exe)
      - Change the location of the PHP to C:\wamp64\bin\php\php7.1.9
      - In command prompt, type composer, a composer documentation should appear

4.) Clone or download the SAD2-master project to C:\wamp64\www (64-bit WAMP) or C:\wamp\www (32-bit WAMP) directory

5.) Open command prompt and change the directory to the root of the project
    (ex. if your project is in C:\wamp64\www then type 'cd C:\wamp64\www\project-name, 
     where project-name is SAD2-master or whatever your renamed the project to)
     
6.) In the command prompt, type: composer dump-autoload -o

7.) Next, type: php artisan migrate:refresh --seed

8.) Then, type: php artisan key:generate //ONLY DO THIS STEP IF THERE IS NO .env FILE IN THE ROOT OF THE PROJECT

9.) Lastly, type: php artisan serve

10.) Check the portnumber of the php artisan serve (usually it is 8000) and then open your browser
     and type in 'localhost:<portnumber>', where <portnumber> is the port number provided by laravel
     
11.) Login with admin123 as username and password






Extra package:
Charts  = http://lavacharts.com/#chart-line
        = https://www.youtube.com/watch?v=IEhZTcpbknA        ----> Another chart. Has a youtube guide.
        
        
Color Schemes = https://mdbootstrap.com/css/colors/

About

Tgis is a project for our Software Engineering class. A Course in our Information Technology

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published