-
Notifications
You must be signed in to change notification settings - Fork 1
Add concise project setup instructions #629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,3 +15,50 @@ docker compose up | |
| ``` | ||
|
|
||
| You will need to provide an `auth.json` file that has credentials for downloading Laravel Nova. Ask in Slack and we can provide this file to you. | ||
|
|
||
|
|
||
| 🚀 Run Project Locally (Laravel + React + Inertia.js) | ||
| ✅ Requirements | ||
|
|
||
| Make sure the following are installed: | ||
|
|
||
| PHP 8.1+ | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Our project is declared to require PHP 8.3 or higher in |
||
|
|
||
| Composer | ||
|
|
||
| Node.js & NPM | ||
|
|
||
| MySQL (or MariaDB) | ||
|
|
||
| Git | ||
|
|
||
| 📌 Installation Steps | ||
| # Clone the repository | ||
| git clone <repo-url> | ||
| cd <project-folder> | ||
|
|
||
| # Install Laravel dependencies | ||
| composer install | ||
|
|
||
| # Install frontend dependencies | ||
| npm install | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are no |
||
|
|
||
| # Setup environment file | ||
| cp .env.example .env | ||
| php artisan key:generate | ||
|
|
||
| # Configure your database in .env file | ||
| # Then run migrations + seeders | ||
| php artisan migrate --seed | ||
|
|
||
| # Start backend server (Laravel) | ||
| php artisan serve # => http://127.0.0.1:8000 | ||
|
|
||
| # Start frontend (React + Vite) | ||
| npm run dev # Auto reloads in browser | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are no |
||
|
|
||
| 🧹 Optional Commands (Fix Common Issues) | ||
| php artisan config:clear | ||
| php artisan cache:clear | ||
| npm run build | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This project does not use React or Inertia.