Skip to content

Commit

Permalink
Merge pull request #31 from mintopia/develop
Browse files Browse the repository at this point in the history
v2.0.0 - Brilliant Bobcat
  • Loading branch information
mintopia authored Jul 7, 2024
2 parents 1103dc9 + c432e8c commit 8ee5ea3
Show file tree
Hide file tree
Showing 317 changed files with 27,402 additions and 21,991 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ yarn-error.log
/_ide_helper.php
Dockerfile
README.md
docker-compose.yaml
docker-compose.yaml
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
Expand Down
100 changes: 39 additions & 61 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,47 +1,8 @@
FDQN=musicparty.example.com
PROTOCOL=http://
PORT=80

APP_NAME="Music Party"
APP_URL=${PROTOCOL}${FQDN}
#App key should be any valid, either use php to generate this or https://generate-random.org/laravel-key-generator
APP_KEY=


DB_DATABASE=musicparty
DB_USERNAME=musicparty
#Add you own dbpassword here for security
DB_PASSWORD=

#
PUSHER_APP_KEY=musicparty
#Generate a new secret here using UUID4 (https://generate-random.org/uuid-generator)
PUSHER_APP_SECRET=
#
MIX_PUSHER_CLIENT_HOSTNAME=${FQDN}
MIX_PUSHER_CLIENT_PORT=${PORT}

#Create two new apps from spotify.
#You will need to set the redirect uri to ${PROTOCOL}${FQDN}/auth/spotify/search/redirect when you create them
SPOTIFY_CLIENT_ID=
SPOTIFY_CLIENT_SECRET=

SPOTIFY_SEARCH_CLIENT_ID=
SPOTIFY_SEARCH_CLIENT_SECRET=
#UI required for this, available in debug output, will fall back to SPOTIFY_CLIENT_ID if not set
SPOTIFY_SEARCH_REFRESH_TOKEN=

#Create a new discord app at https://discord.com/developers/applications
#Set the redirect uri in the OAuth2 settings to ${PROTOCOL}${FQDN}/auth/discord/redirect
DISCORD_CLIENT_ID=
#OAuth2 Secret from the OAuth2 settings in Discord
DISCORD_CLIENT_SECRET=


#Additional env's below

APP_NAME=Music Party
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost

LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
Expand All @@ -50,32 +11,49 @@ LOG_LEVEL=debug
DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=control
DB_USERNAME=control
DB_PASSWORD=control

BROADCAST_DRIVER=pusher
CACHE_DRIVER=redis
BROADCAST_DRIVER=log
CACHE_DRIVER=file
FILESYSTEM_DISK=local
QUEUE_CONNECTION=redis
SESSION_DRIVER=redis
SESSION_LIFETIME=1440
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120

MEMCACHED_HOST=127.0.0.1

REDIS_HOST=redis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

PUSHER_APP_ID=musicparty
MAIL_MAILER=smtp
MAIL_HOST=mailpit
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_HOST=
PUSHER_PORT=443
PUSHER_SCHEME=https
PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

SPOTIFY_REDIRECT_URI="${APP_URL}/auth/spotify/redirect"

SPOTIFY_SEARCH_REDIRECT_URI="${APP_URL}/auth/spotify/search/redirect"

DISCORD_REDIRECT_URI="${APP_URL}/auth/discord/redirect"

# Trebble allows API monitoring - https://treblle.com
TREBLLE_API_KEY=
TREBLLE_PROJECT_ID=
VITE_APP_NAME="${APP_NAME}"
VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
VITE_PUSHER_HOST="${PUSHER_HOST}"
VITE_PUSHER_PORT="${PUSHER_PORT}"
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* text=auto
* text=auto eol=lf

*.blade.php diff=html
*.css diff=css
Expand All @@ -8,3 +8,4 @@

/.github export-ignore
CHANGELOG.md export-ignore
.styleci.yml export-ignore
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
/.phpunit.cache
/node_modules
/public/build
/public/hot
/public/storage
/storage/*.key
/vendor
.env
.env.backup
.env.production
.phpunit.result.cache
Homestead.json
Homestead.yaml
auth.json
npm-debug.log
yarn-error.log
/.fleet
/.idea
/.vscode
/docker-compose.override.yaml
/docker-compose.override.yml
2,249 changes: 2,249 additions & 0 deletions .phpstorm.meta.php

Large diffs are not rendered by default.

12 changes: 0 additions & 12 deletions .styleci.yml

This file was deleted.

2 changes: 2 additions & 0 deletions FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github:
- mintopia
Loading

0 comments on commit 8ee5ea3

Please sign in to comment.