Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wattsworth
/
lumen-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1b298844
authored
May 02, 2017
by
John Doe
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
added passenger restart
parent
1016e640
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
Capfile
config/deploy.rb
config/environments/production.rb
Capfile
View file @
1b298844
...
@@ -32,7 +32,7 @@ require "capistrano/rbenv"
...
@@ -32,7 +32,7 @@ require "capistrano/rbenv"
require
"capistrano/bundler"
require
"capistrano/bundler"
require
"capistrano/rails/assets"
require
"capistrano/rails/assets"
require
"capistrano/rails/migrations"
require
"capistrano/rails/migrations"
#
require "capistrano/passenger"
require
"capistrano/passenger"
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
Dir
.
glob
(
"lib/capistrano/tasks/*.rake"
).
each
{
|
r
|
import
r
}
Dir
.
glob
(
"lib/capistrano/tasks/*.rake"
).
each
{
|
r
|
import
r
}
config/deploy.rb
View file @
1b298844
...
@@ -38,3 +38,5 @@ append :linked_files, "config/secrets.yml", "db/production.sqlite3"
...
@@ -38,3 +38,5 @@ append :linked_files, "config/secrets.yml", "db/production.sqlite3"
# Default value for keep_releases is 5
# Default value for keep_releases is 5
# set :keep_releases, 5
# set :keep_releases, 5
#after 'deploy:publishing', 'deploy:restart'
config/environments/production.rb
View file @
1b298844
...
@@ -63,7 +63,7 @@ Rails.application.configure do
...
@@ -63,7 +63,7 @@ Rails.application.configure do
:port
=>
25
,
:port
=>
25
,
:domain
=>
"wattsworth.net"
,
:domain
=>
"wattsworth.net"
,
:user_name
=>
ENV
[
'SMTP_USERNAME'
],
:user_name
=>
ENV
[
'SMTP_USERNAME'
],
:password
=>
ENV
[
'
GMAIL
_PASSWORD'
],
:password
=>
ENV
[
'
SMTP
_PASSWORD'
],
:authentication
=>
"login"
,
:authentication
=>
"login"
,
:enable_starttls_auto
=>
true
:enable_starttls_auto
=>
true
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment