More file cleanup

This commit is contained in:
Nabeel Shahzad 2017-12-16 15:51:07 -06:00
parent 7ab71f9194
commit 3e52f0aee1
7 changed files with 63 additions and 88 deletions

View File

@ -1,12 +0,0 @@
root = true
[*.{js,py}]
charset = utf-8
[*.yml]
indent_style = space
indent_size = 2
# Tab indentation (no size specified)
[Makefile]
indent_style = tab

View File

@ -1,18 +0,0 @@
#
# This is a super minimal .env file and is only meant
# for development, and for Laravel to bootstrap itself
#
# Go to /install to run the installer and create the proper
# .env file
#
APP_ENV=dev
APP_KEY=base64:ve66Z5Kt/zTN3p++0zOPu854PHfZkwJE5VuoFAlzHtI=
APP_DEBUG=true
APP_LOCALE=en
DB_CONNECTION=sqlite
APP_LOG=daily
APP_LOG_LEVEL=debug
APP_LOG_MAX_FILES=7

48
.env.example Normal file
View File

@ -0,0 +1,48 @@
#
# This is a sample .env file and is only meant for
# development, and for Laravel to bootstrap itself
#
# Go to /install to run the installer and create
# the proper .env file
#
# Before you go live, remember to change the APP_ENV to production
# and APP_DEBUG to false. Adjust logging to taste
#
APP_ENV=dev
APP_URL=http://localhost
APP_SKIN=default
APP_KEY=base64:zdgcDqu9PM8uGWCtMxd74ZqdGJIrnw812oRMmwDF6KY=
APP_DEBUG=true
APP_LOCALE=en
PHPVMS_INSTALLED=true
VACENTRAL_API_KEY=
APP_LOG=daily
APP_LOG_LEVEL=debug
APP_LOG_MAX_FILES=3
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=phpvms
DB_USERNAME=root
DB_PASSWORD=
DB_PREFIX=
MAIL_DRIVER=smtp
MAIL_FROM_ADDRESS=no-reply@phpvms.net
MAIL_FROM_NAME="phpVMS Admin"
MAIL_HOST=smtp.mailgun.org
MAIL_PORT=587
MAIL_ENCRYPTION=tls
MAIL_USERNAME=
MAIL_PASSWORD=
CACHE_DRIVER=file
CACHE_PREFIX=
SESSION_DRIVER=file
QUEUE_DRIVER=database

View File

@ -1,14 +0,0 @@
APP_ENV=prod
APP_KEY=base64:ve66Z5Kt/zTN3p++0zOPu854PHfZkwJE5VuoFAlzHtI=
APP_DEBUG=false
APP_LOG_LEVEL=info
APP_URL=http://localhost
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=phpvms
DB_USERNAME=
DB_PASSWORD=
CACHE_DRIVER=array

View File

@ -1,35 +0,0 @@
# Disable index view
Options -Indexes
# Hide a specific file
<Files .env>
Order allow,deny
Deny from all
</Files>
# Hide a specific file
<Files storage>
Order allow,deny
Deny from all
</Files>
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>

View File

@ -1,9 +0,0 @@
#
# after launch run
# docker exec phpvms /usr/bin/mysql -uroot -e 'CREATE DATABASE phpvms'
FROM nabeelio/docker-lemp:latest
RUN mkdir -p /var/run/mysqld
ENTRYPOINT ["/entrypoint.sh"]

View File

@ -1,3 +1,18 @@
# Disable index view
Options -Indexes
# Hide a specific file
<Files .env>
Order allow,deny
Deny from all
</Files>
# Hide a specific file
<Files storage>
Order allow,deny
Deny from all
</Files>
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews