Skip to content

Commit a87de13

Browse files
📝 Update README
1 parent ef9d5fd commit a87de13

File tree

1 file changed

+35
-11
lines changed

1 file changed

+35
-11
lines changed

README.md

Lines changed: 35 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,36 @@ To start the application run the following commands :
8080
# يقوم بعرض الوقت والتاريخ بشكل مفهوم -t يقوم بتتبع النتائج بالوقت الحقيقي و -f بينما
8181
```
8282

83-
3. Install fresh new Laravel app and copy it into `web/` directory
83+
3. Install fresh copy of laravel and name it `web`
8484

85-
> تنزيل نسخة من مشروع لارافل ونسخها بداخل ملف الويب
85+
> تنزيل نسخة من مشروع لارافل تحت اسم ويب
86+
87+
```sh
88+
./commands composer create-project --prefer-dist laravel/laravel web
89+
# ./command: ملف يحتوي على اوامر مختصره لكل حاوية
90+
```
8691

8792
4. Copy `.env.example => .env` inside `web` where you laravel files
8893

89-
> نسخ ملف المذكور في الاعلى
94+
> المذكور فوقenv نسخ ملف
9095

91-
5. You need to generate new laravel key, this can be done inside the container using:
96+
5. Update DB config inside laravel `.env` file with this
97+
98+
> حدث اعدادات قاعدة بيانات مشروعك
99+
100+
```sh
101+
DB_HOST = db
102+
DB_PORT = 3309
103+
DB_DATABASE = homestead
104+
DB_USERNAME = homestead
105+
DB_PASSWORD = secret
106+
```
107+
108+
> Note: you can change all db config in `.docker.env` as well.
109+
110+
> `.docker.env` تستطيع تغير اعدادت قاعدة البيانات من داخل ملف
111+
112+
6. You need to generate new laravel key, this can be done inside the container using:
92113

93114
> في حالة اذ تحتاج لتوليد مفتاح جديد لمشروعك نفذالامر التالي
94115

@@ -97,21 +118,24 @@ To start the application run the following commands :
97118
# ./command: ملف يحتوي على اوامر مختصره لكل حاوية
98119
```
99120

100-
6. The application has been baked, it's dinner time 🍔 you can open the following in your browser:
121+
7. The application has been baked, its dinner time 🍔 you can open the following in your browser:
101122

102123
> تم اكمال الاعدادات، يمكنك تصفح الموقع وقاعدة البيانات من الروابط التالية
103124

104125
- Laravel Applicaion: [http://localhost:8080](http://localhost:8080)
105126
- PHPMyAdmin: [http://localhost:8080](http://localhost:8080/)
106127

107-
> To login PHPMyAdmin use `MYSQL_USER`, `MYSQL_PASSWORD` inside `.env` file. If you want to change the username and password you can do it from `.env` file.
108-
> `.env.` الموجودة داخل ملف MYSQL تحتاج لاسم مستخدم وكلمة مرور, تستطيع استخدام نفس كلمة مرور PHPMyAdmin للدخول صفحة
128+
> To access PHPMyAdmin you need username and password, you can use `MYSQL_USER`, `MYSQL_PASSWORD` from `.docker.env` file.
129+
130+
> Note: If you want to update/change the username and password inside `.docker.env`, don't forget to run `./commands rebuild`
131+
132+
> `.docker.env` تحتاج لاسم المستخدم وكلمة المرور الموجوده داخل ملف PHPMyAdmin للدخول صفحة
109133
110-
## Commands Tips 💡🐳
134+
## Useful Commands 💡🐳
111135
112136
Inside `commands` shell file, you can fine many useful commands to speedup your workflow. Lets see how to use them:
113137
114-
> داخل ملف الاومر يوجد من الاومر الجاهزة ومختصره لتسريع عملك اثناء التطوير
138+
> داخل ملف الاومر يوجداوامر جاهزة ومختصره تخص دوكر لتسريع عملك اثناء التطوير
115139
116140
- To startup containers
117141
@@ -176,13 +200,13 @@ Inside `commands` shell file, you can fine many useful commands to speedup your
176200
```
177201

178202
- When you working with Frontend development, you can use following commands:
179-
> npm او yarn تحتاج اما Frontend في حالة العمل مع مكتبات
203+
> npm او yarn تحتاج اما Frontend في حالة تنزيل مكتبات
180204
```sh
181205
./commands yarn
182206
# OR
183207
./commands yarn add react
184208
# OR
185209
./commands npm install
186210
# OR
187-
./commands npm install --save-dev prettier
211+
./commands npm install --save react
188212
```

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy