Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
c266f8a0
Commit
c266f8a0
authored
Jul 02, 2013
by
Brandon Liu
Committed by
Mitchell Hashimoto
Jul 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update command to run locally in website README.
parent
39d3ae85
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
website/README.md
website/README.md
+1
-1
website/config.rb
website/config.rb
+1
-1
No files found.
website/README.md
View file @
c266f8a0
...
...
@@ -17,7 +17,7 @@ commands:
```
$ bundle
$ bundle exec middleman server
$
PACKER_DISABLE_DOWNLOAD_FETCH=true PACKER_VERSION=1.0
bundle exec middleman server
```
Then open up
`localhost:4567`
. Note that some URLs you may need to append
...
...
website/config.rb
View file @
c266f8a0
require
"net/http"
raise
"BINTRAY_API_KEY must be set."
if
!
ENV
[
"BINTRAY_API_KEY"
]
raise
"PACKER_VERSION must be set."
if
!
ENV
[
"PACKER_VERSION"
]
#-------------------------------------------------------------------------
...
...
@@ -11,6 +10,7 @@ $packer_files = {}
$packer_os
=
[]
if
!
ENV
[
"PACKER_DISABLE_DOWNLOAD_FETCH"
]
raise
"BINTRAY_API_KEY must be set."
if
!
ENV
[
"BINTRAY_API_KEY"
]
http
=
Net
::
HTTP
.
new
(
"dl.bintray.com"
,
80
)
req
=
Net
::
HTTP
::
Get
.
new
(
"/mitchellh/packer"
)
req
.
basic_auth
"mitchellh"
,
ENV
[
"BINTRAY_API_KEY"
]
...
...
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