-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.txt
57 lines (36 loc) · 2.23 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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/