Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Commit

Permalink
2 cazzate
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzodeinegri committed May 2, 2020
1 parent 7f69825 commit 8847277
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 22 deletions.
41 changes: 41 additions & 0 deletions .env.prod
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
APP_NAME=ThiReMa
APP_ENV=local
APP_KEY=base64:Kx0bZ0S6BUK05v9vam8ty+7Zsigqlp/Wqf+cbLCyOEM=
APP_DEBUG=false
APP_URL=http://localhost

API_URL=http://thirema-api:9999

LOG_CHANNEL=stack

BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120

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=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"

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

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,42 +17,42 @@
},
"devDependencies": {
"@vue/test-utils": "^1.0.0-beta.32",
"babel-jest": "^25.2.6",
"eslint": "^6.8.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-vue": "^6.2.2",
"jest": "24.9.0",
"prettier": "^2.0.4",
"vue-jest": "^3.0.5"
},
"dependencies": {
"@elstats/covariance": "^1.1.0",
"apexcharts": "^3.18.1",
"axios": "^0.19",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^25.2.6",
"babel-loader": "^8.1.0",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"bootstrap": "^4.0.0",
"correlation-rank": "^0.2.0",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-vue": "^6.2.2",
"jest": "24.9.0",
"datatables.net": "^1.10.20",
"datatables.net-bs4": "^1.10.20",
"jquery": "^3.2",
"laravel-mix": "^5.0.4",
"lodash": "^4.17.13",
"popper.js": "^1.12",
"prettier": "^2.0.4",
"resolve-url-loader": "^2.3.1",
"sass": "^1.26.3",
"sass-loader": "^8.0.0",
"spearman-rho": "^1.0.6",
"vue": "^2.5.17",
"vue-jest": "^3.0.5",
"vue-apexcharts": "^1.5.3",
"vue-template-compiler": "^2.6.10"
},
"dependencies": {
"@elstats/covariance": "^1.1.0",
"apexcharts": "^3.18.1",
"correlation-rank": "^0.2.0",
"datatables.net": "^1.10.20",
"datatables.net-bs4": "^1.10.20",
"spearman-rho": "^1.0.6",
"vue-apexcharts": "^1.5.3"
},
"jest": {
"moduleFileExtensions": [
"js",
Expand Down
10 changes: 6 additions & 4 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
echo "Web application starting..."

if [ ! -d "vendor/" ]; then
composer install
composer install --optimize-autoloader --no-dev
fi

if [ ! -d "node_modules/" ]; then
npm install
npm install --production
fi

npm run dev
npm run prod

php artisan serve --host=0.0.0.0 --port=8000
php artisan view:cache

php artisan serve --host=0.0.0.0 --port=8000 --env=.env.prod

0 comments on commit 8847277

Please sign in to comment.