Before installing wave you will need to make sure you have the minimum server requirements and then you'll want to clone the repo to your machine.
You can clone the repo onto your local machine with the following command:
git clone https://github.com/thedevdojo/wave.git project_name
project_name with the name of your project. Optionally, you may want to create a new Github Repo for your project.
Ok, now we can easily install Wave with these 4 simple steps:
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.
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
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=
Next, we will need to install all our composer dependencies by running the following command:
We need to migrate our database structure into our database, which we can do by running:
php artisan migrate
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.
For security measures you may want to regenerate your application key, be sure to run the following command below to secure your site before going live.
php artisan key:generate
In most cases it's a good idea to create a separate repo for your new project. This will also make it easier to deploy our application to DigitalOcean.
If you are logged into your Github account, you can go to https://github.com/new to create a new repository. Give it a name associated with your SAAS and click Create Repository
After you click on create repo, you will need to open up the command line and
cd into your
project_name folder and run the following commands, replacing
tnylea/project_name with the name of your repo:
rm -rf .git/ git init git add --all git commit -m "first commit for my SAAS" git branch -M main git remote add origin https://github.com/tnylea/project_name.git git push -u origin main
If you refresh your Github Repository you should see that it now contains the files for your new SAAS application.
If you use Digital Ocean, you're in luck. You can easily start surfing the Wave(s) on DigitalOcean with our DO App Platform integration. Not using DigitalOcean? Get $100 in free DigitalOcean credit here. 💵
Here are 3 simple steps to get started with your new SAAS on Digital Ocean.
In order to deploy to DigitalOcean you'll need to get your API Key from the following URL: https://cloud.digitalocean.com/account/api/tokens
Click on the Generate New Token, button and save your new token for the next step.
Ok, now you're ready to deploy your application to DigitalOcean. Login to your application admin and click on the Deploy Now button in the first card:
Next, you'll see another page where you need to enter in your repo, give DO access to your Repo, and then enter in your api key.
After you enter those fields and press deploy, you will see a success message. Now you can navigate to your digital ocean app platform dashboard and you'll see your new application.
That's it! You are now ready to start building your SAAS and deploy it to DigitalOcean.
If you want to learn more about setting up Wave and support the ongoing development of Wave you may want to consider becoming a DevDojo Pro user. Together we can make this project even more awesome 😎
After installing Wave you can login with the following default credentials:
After logging in you can feel free to change the admin email, username, and password by visiting the settings section in the user menu.