chore(gitignore,env): structure and add comments

This commit is contained in:
Harminder Virk 2017-10-30 13:12:56 +05:30
parent be8b572e65
commit c45e2b9e23
2 changed files with 16 additions and 2 deletions

View File

@ -1,13 +1,17 @@
HOST=127.0.0.1 HOST=127.0.0.1
PORT=3333 PORT=3333
NODE_ENV=development NODE_ENV=development
APP_URL=http://${HOST}:${PORT}
CACHE_VIEWS=false CACHE_VIEWS=false
APP_KEY=
APP_KEY=2wsjLSopTjD6WQEztTYIZgCFou8wpLJn
DB_CONNECTION=sqlite DB_CONNECTION=sqlite
DB_HOST=127.0.0.1 DB_HOST=127.0.0.1
DB_PORT=3306 DB_PORT=3306
DB_USER=root DB_USER=root
DB_PASSWORD= DB_PASSWORD=
DB_DATABASE=adonis DB_DATABASE=adonis
SESSION_DRIVER=cookie SESSION_DRIVER=cookie
APP_URL=http://${HOST}:${PORT}

10
.gitignore vendored
View File

@ -1,5 +1,15 @@
# Node modules
node_modules node_modules
# Adonis directory for storing tmp files
tmp tmp
# Environment variables, never commit this file
.env .env
# Lock files
package-lock.json package-lock.json
yarn.lock
# The development sqlite file
database/development.sqlite database/development.sqlite