Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mohaphez/filament-grapesjs-lab
https://github.com/mohaphez/filament-grapesjs-lab
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mohaphez/filament-grapesjs-lab
- Owner: mohaphez
- Created: 2024-02-04T17:48:57.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-02-21T12:52:09.000Z (11 months ago)
- Last Synced: 2024-10-15T07:25:56.672Z (3 months ago)
- Language: PHP
- Size: 1.93 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## How to run the lab
1. Clone the repository
```bash
git clone https://github.com/mohaphez/filament-grapesjs-lab.git
```
2. Open the terminal and navigate to the repository4. Run the following command to install the required packages
```bash
docker run --rm \
-u "$(id -u):$(id -g)" \
-v "$(pwd):/var/www/html" \
-w /var/www/html \
laravelsail/php82-composer:latest \
composer install --ignore-platform-reqs
```5. Run the following command to start the server
```bash
./vendor/bin/sail up -d
```6. Run the following command to start the server
```bash
./vendor/bin/sail composer update
```7. Run the following command to install the node packages
```bash
./vendor/bin/sail npm -C packages/filament-grapesjs-v3 install
```8. Run the following command to npm run dev
```bash
./vendor/bin/sail npm -C packages/filament-grapesjs-v3 run dev
```9. Run the following command to build the assets
```bash
./vendor/bin/sail artisan filament:assets
```10. Access to admin panel with this url and credential
```bash
http://localhost/adminUsername: [email protected]
Password: password
```