You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker compose -f compose.dev.yml exec workspace npm run dev
172
+
```
173
+
174
+
- **Stopping the environment:**
175
+
176
+
To stop the containers, run:
177
+
178
+
```bash
179
+
docker compose -f compose.dev.yml down
180
+
```
181
+
182
+
## Development with GitHub Codespaces
183
+
184
+
This repository is configured to use [GitHub Codespaces](https://github.com/features/codespaces) for a cloud-based development environment.
185
+
186
+
### Getting Started
187
+
188
+
1. Click the "Code" button on the repository's main page.
189
+
2. Select the "Codespaces" tab.
190
+
3. Click "Create codespace on main".
191
+
192
+
GitHub will then create a new Codespace and set up the environment for you automatically. This includes:
193
+
- Building the Docker containers for the application, database, and Redis.
194
+
- Installing all Composer dependencies.
195
+
- Creating the `.env` file.
196
+
- Generating the application key.
197
+
- Running database migrations and seeding it with sample data.
198
+
199
+
### Usage
200
+
201
+
- **Accessing the application:**
202
+
Once the Codespace is ready, it will automatically forward the application's port (8000). You can access the application from the "Ports" tab in the VS Code editor or by clicking the notification that appears.
203
+
204
+
- **Running Artisan commands:**
205
+
You can run `artisan` commands directly in the VS Code terminal:
0 commit comments