Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove someRandomString from .env.example #2222

Closed
seanmangar opened this issue Oct 31, 2016 · 0 comments
Closed

Remove someRandomString from .env.example #2222

seanmangar opened this issue Oct 31, 2016 · 0 comments

Comments

@seanmangar
Copy link
Contributor

I was setting up this project in my local computer and noticed that if you don't remove someRandomString from .env.example, running php artisan key:generate appends the key before =SomeRandomString .This is perhaps why in Laravel's .env.example it is kept blank: https://github.com/laravel/laravel/blob/master/.env.example

APP_ENV=production
APP_DEBUG=false
APP_URL=http://localhost
APP_KEY=base64:At8uiauIpFa9Il+e+sxAvXOnZUylqkUGN1hrfQyAJco=SomeRandomString

DB_DRIVER=mysql
DB_HOST=localhost
DB_DATABASE=cachet
DB_USERNAME=homestead
DB_PASSWORD=secret
DB_PORT=null
DB_PREFIX=null

CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

CACHET_BEACON=true
CACHET_EMOJI=false

MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ADDRESS=null
MAIL_NAME=null
MAIL_ENCRYPTION=tls

REDIS_HOST=null
REDIS_DATABASE=null
REDIS_PORT=null

GITHUB_TOKEN=null

seanmangar added a commit to seanmangar/Cachet that referenced this issue Oct 31, 2016
Remove someRandomString from .env.example

Removed someRandomString because it interferes with php artisan
key:generate

Resolves: cachethq#2222
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant