Skip to content

agiletechvn/php-laravel-wave

Repository files navigation

Introduction

Wave is a Software as a Service Starter Kit that can help you build your next great idea 💰. Wave is built with Laravel, Voyager, TailwindCSS, and a few other awesome technologies. Here are some of the awesome features ✨:

Demo

View a live demo here, or deploy your own instance to DigitalOcean, by clicking the button below.

Deploy to DO

Installation

To install Wave, you'll want to clone or download this repo:

git clone https://github.com/thedevdojo/wave.git project_name

Next, we can install Wave with these 4 simple steps:

1. Create a New Database

During the installation we need to use a MySQL database. You will need to create a new database and save the credentials for the next step.

2. Copy the .env.example file

We need to specify our Environment variables for our application. You will see a file named .env.example, you will need to duplicate that file and rename it to .env.

Then, open up the .env file and update your DB_DATABASE, DB_USERNAME, and DB_PASSWORD in the appropriate fields. You will also want to update the APP_URL to the URL of your application.

APP_URL=http://wave.test

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=wave
DB_USERNAME=root
DB_PASSWORD=

3. Add Composer Dependencies

Next, we will need to install all our composer dependencies by running the following command:

composer install

4. Run Migrations and Seeds

We need to migrate our database structure into our database, which we can do by running:

php artisan migrate

Finally, we will need to seed our database with the following command:
php artisan db:seed

🎉 And that's it! You will now be able to visit your URL and see your Wave application up and running.

Install via docker compose

Copy env file

cp .env.example .env

Run docker compose, wait a bit to install composer automatically

docker-compose up -d

Run migrate and seed files

# goto container ash
docker exec -it <id> ash

# run migrate
php artisan migrate

# run seed
php artisan db:seed

Watch, Learn, and Build

We've also got a full video series on how you can setup, build, and configure Wave. 🍿 You can watch first few videos for free, and additional videos will require a DevDojo Pro subscription. By subscribing to a DevDojo Pro subscription you will also be supporting the ongoing development of this project. It's a win win! 🙌

Click here to watch the Wave Video Series.

Documentation

Checkout the official documentation here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages