From c45e2b9e23ea532e2b65c6304d7f7e70e7cb50ec Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Mon, 30 Oct 2017 13:12:56 +0530 Subject: [PATCH] chore(gitignore,env): structure and add comments --- .env.example | 8 ++++++-- .gitignore | 10 ++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 4700d90..144437e 100644 --- a/.env.example +++ b/.env.example @@ -1,13 +1,17 @@ HOST=127.0.0.1 PORT=3333 NODE_ENV=development +APP_URL=http://${HOST}:${PORT} + CACHE_VIEWS=false -APP_KEY= + +APP_KEY=2wsjLSopTjD6WQEztTYIZgCFou8wpLJn + DB_CONNECTION=sqlite DB_HOST=127.0.0.1 DB_PORT=3306 DB_USER=root DB_PASSWORD= DB_DATABASE=adonis + SESSION_DRIVER=cookie -APP_URL=http://${HOST}:${PORT} diff --git a/.gitignore b/.gitignore index 21428ec..02ebba8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,15 @@ +# Node modules node_modules + +# Adonis directory for storing tmp files tmp + +# Environment variables, never commit this file .env + +# Lock files package-lock.json +yarn.lock + +# The development sqlite file database/development.sqlite