Skip to content

Commit

Permalink
initial commit of new version
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed Mar 25, 2021
0 parents commit b42e4d0
Show file tree
Hide file tree
Showing 712 changed files with 543,833 additions and 0 deletions.
103 changes: 103 additions & 0 deletions .do/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
databases:
- engine: PG
name: wave-db
num_nodes: 1
size: db-s-dev-database
version: "12"
name: wave
region: ams
services:
- environment_slug: php
run_command: heroku-php-apache2 public/
envs:
- key: APP_NAME
scope: RUN_TIME
value: Wave
- key: APP_ENV
scope: RUN_TIME
value: dev
- key: APP_KEY
scope: RUN_TIME
value: base64:UdAH2B63rlotjrkSSsj3Hppy4gbfr+OeHvtSdF9r9q8=
- key: APP_DEBUG
scope: RUN_TIME
value: "1"
- key: APP_URL
scope: RUN_TIME
value: ${APP_URL}
- key: DATABASE_URL
scope: RUN_TIME
value: ${wave-db.DATABASE_URL}
- key: DB_CONNECTION
scope: RUN_TIME
value: pgsql
- key: DB_HOST
scope: RUN_TIME
value: ${wave-db.HOSTNAME}
- key: DB_PORT
scope: RUN_TIME
value: ${wave-db.PORT}
- key: DB_DATABASE
scope: RUN_TIME
value: ${wave-db.DATABASE}
- key: DB_USERNAME
scope: RUN_TIME
value: ${wave-db.USERNAME}
- key: DB_PASSWORD
scope: RUN_TIME
value: ${wave-db.PASSWORD}
github:
branch: master
deploy_on_push: true
repo: tnylea/wave
http_port: 8080
instance_count: 1
instance_size_slug: basic-xs
name: landing-laravel
routes:
- path: /
jobs:
- name: migrate
kind: POST_DEPLOY
github:
repo: tnylea/wave
branch: master
deploy_on_push: true
run_command: php artisan migrate --seed
envs:
- key: APP_NAME
scope: RUN_TIME
value: Wave
- key: APP_ENV
scope: RUN_TIME
value: dev
- key: APP_KEY
scope: RUN_TIME
value: base64:UdAH2B63rlotjrkSSsj3Hppy4gbfr+OeHvtSdF9r9q8=
- key: APP_DEBUG
scope: RUN_TIME
value: "1"
- key: APP_URL
scope: RUN_TIME
value: ${APP_URL}
- key: DATABASE_URL
scope: RUN_TIME
value: ${wave-db.DATABASE_URL}
- key: DB_CONNECTION
scope: RUN_TIME
value: pgsql
- key: DB_HOST
scope: RUN_TIME
value: ${wave-db.HOSTNAME}
- key: DB_PORT
scope: RUN_TIME
value: ${wave-db.PORT}
- key: DB_DATABASE
scope: RUN_TIME
value: ${wave-db.DATABASE}
- key: DB_USERNAME
scope: RUN_TIME
value: ${wave-db.USERNAME}
- key: DB_PASSWORD
scope: RUN_TIME
value: ${wave-db.PASSWORD}
103 changes: 103 additions & 0 deletions .do/deploy.template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
spec:
name: wave
services:
- name: web
git:
branch: master
repo_clone_url: https://github.com/tnylea/wave.git
run_command: php artisan migrate --force ; heroku-php-apache2 public/
envs:
- key: APP_NAME
scope: RUN_TIME
value: Wave
- key: APP_KEY
scope: RUN_TIME
value: "base64:UdAH2B63rlotjrkSSsj3Hppy4gbfr+OeHvtSdF9r9q8="
- key: APP_URL
scope: RUN_TIME
value: ${APP_URL}
- key: APP_DEBUG
scope: RUN_TIME
value: "false"
- key: DB_CONNECTION
scope: RUN_TIME
value: "pgsql"
- key: DB_HOST
scope: RUN_TIME
value: ${wave-db.HOSTNAME}
- key: DB_PORT
scope: RUN_TIME
value: ${wave-db.PORT}
- key: DB_DATABASE
scope: RUN_TIME
value: ${wave-db.DATABASE}
- key: DB_USERNAME
scope: RUN_TIME
value: ${wave-db.USERNAME}
type: SECRET
- key: DB_PASSWORD
scope: RUN_TIME
value: ${wave-db.PASSWORD}
type: SECRET
- key: DO_SPACES
scope: RUN_TIME
value: "false"
- key: DO_SPACES_KEY
scope: RUN_TIME
value: "YOUR_DO_SPACES_KEY"
type: SECRET
- key: DO_SPACES_SECRET
scope: RUN_TIME
value: "YOUR_DO_SPACES_SECRET"
type: SECRET
- key: DO_SPACES_ENDPOINT
scope: RUN_TIME
value: "YOUR_DO_SPACES_ENDPOINT"
- key: DO_SPACES_REGION
scope: RUN_TIME
value: "YOUR_DO_SPACES_REGION"
- key: DO_SPACES_BUCKET
scope: RUN_TIME
value: "YOUR_DO_SPACES_BUCKET"
databases:
- name: wave-db
jobs:
- name: migrate
kind: POST_DEPLOY
git:
repo_clone_url: https://github.com/tnylea/wave.git
branch: master
run_command: php artisan migrate --seed
envs:
- key: APP_NAME
scope: RUN_TIME
value: Wave
- key: APP_KEY
scope: RUN_TIME
value: "base64:UdAH2B63rlotjrkSSsj3Hppy4gbfr+OeHvtSdF9r9q8="
- key: APP_URL
scope: RUN_TIME
value: ${APP_URL}
- key: APP_DEBUG
scope: RUN_TIME
value: "false"
- key: DB_CONNECTION
scope: RUN_TIME
value: "pgsql"
- key: DB_HOST
scope: RUN_TIME
value: ${wave-db.HOSTNAME}
- key: DB_PORT
scope: RUN_TIME
value: ${wave-db.PORT}
- key: DB_DATABASE
scope: RUN_TIME
value: ${wave-db.DATABASE}
- key: DB_USERNAME
scope: RUN_TIME
value: ${wave-db.USERNAME}
type: SECRET
- key: DB_PASSWORD
scope: RUN_TIME
value: ${wave-db.PASSWORD}
type: SECRET
44 changes: 44 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
APP_NAME=Wave
APP_ENV=local
APP_KEY=base64:8dQ7xw/kM9EYMV4cUkzKgET8jF4P0M0TOmmqN05RN2w=
APP_DEBUG=false
APP_LOG_LEVEL=debug
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=

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=9999
QUEUE_DRIVER=sync

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=null

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=

JWT_SECRET=Jrsweag3Mf0srOqDizRkhjWm5CEFcrBy

PADDLE_VENDOR_ID=
PADDLE_VENDOR_AUTH_CODE=
PADDLE_ENV=sandbox

WAVE_DOCS=true
WAVE_DEMO=false
WAVE_BAR=true
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* text=auto
*.css linguist-vendored
*.scss linguist-vendored
*.js linguist-vendored
CHANGELOG.md export-ignore
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/node_modules
/public/hot
/public/storage
/public/.well-known
/storage/*.key
/vendor
/.idea
/.vagrant
Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log
.env
.DS_Store
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Release Notes

## Unreleased

### **v1.0.2** (Jan 25, 2021)

Laravel 8 Upgrade
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Thanks for your interest in Wave.

Checkout the [official documentation here](https://wave.devdojo.com/docs).

[![Deploy to DO](https://www.deploytodo.com/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/tnylea/wave/tree/master)
42 changes: 42 additions & 0 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?php

namespace App\Console;

use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;

class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
//
];

/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')
// ->hourly();
}

/**
* Register the commands for the application.
*
* @return void
*/
protected function commands()
{
$this->load(__DIR__.'/Commands');

require base_path('routes/console.php');
}
}
53 changes: 53 additions & 0 deletions app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?php

namespace App\Exceptions;

use Throwable;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;

class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var array
*/
protected $dontReport = [
//
];

/**
* A list of the inputs that are never flashed for validation exceptions.
*
* @var array
*/
protected $dontFlash = [
'password',
'password_confirmation',
];

/**
* Report or log an exception.
*
* This is a great spot to send exceptions to Sentry, Bugsnag, etc.
*
* @param \Throwable $exception
* @return void
*/
public function report(Throwable $exception)
{
parent::report($exception);
}

/**
* Render an exception into an HTTP response.
*
* @param \Illuminate\Http\Request $request
* @param \Throwable $exception
* @return \Illuminate\Http\Response
*/
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
}
11 changes: 11 additions & 0 deletions app/Http/Controllers/Auth/ForgotPasswordController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

namespace App\Http\Controllers\Auth;

use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;

class ForgotPasswordController extends \Wave\Http\Controllers\Auth\ForgotPasswordController
{

}
Loading

0 comments on commit b42e4d0

Please sign in to comment.