File tree Expand file tree Collapse file tree 1 file changed +25
-7
lines changed Expand file tree Collapse file tree 1 file changed +25
-7
lines changed Original file line number Diff line number Diff line change 2020
2121- V-toaster
2222
23+ - Docker
24+
25+ ## If you dont know docker you can use the normal version of this project.
26+
27+
23281 . Clone the project
2429
2530
26- 2 . install composer dependencies via this command
27- : ` composer install `
31+ 2 . Run
32+ : ` docker-compose build && docker-compose up -d `
33+
34+
35+ 3 . install composer dependencies via this command
36+ : ` docker-compose run --rm composer install `
37+
38+
39+ * Change sql connection in your .env file*
40+ * DB_CONNECTION=mysql*
41+ * DB_HOST=mysql*
42+ * DB_PORT=3306*
43+ * DB_DATABASE=homestead*
44+ * DB_USERNAME=homestead*
45+ * DB_PASSWORD=secret*
2846
2947
30- 3 . Connect to your own database and run database migration
31- : ` php artisan migrate`
48+ 4 . Connect to the database and run database migration
49+ : ` docker-compose run --rm artisan migrate`
3250
3351
34- 4 . Run database Seeder to make some fake products and categories
35- : ` php artisan db:seed`
52+ 5 . Run database Seeder to make some fake users and messages
53+ : ` docker-compose run --rm artisan db:seed`
3654
3755
38- ## Done.
56+ ## Done, now the app is ready on 'localhost:81' .
3957
4058
4159** Be Happy:)**
You can’t perform that action at this time.
0 commit comments