mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-11-16 06:05:00 -05:00
Using OCTOPRESS_-prefixed ENV vars. Modification to #780.
This commit is contained in:
parent
6827f314b1
commit
bb8f531d54
4
Rakefile
4
Rakefile
@ -28,8 +28,8 @@ posts_dir = "_posts" # directory for blog files
|
||||
themes_dir = ".themes" # directory for blog files
|
||||
new_post_ext = "markdown" # default new post file extension when using the new_post task
|
||||
new_page_ext = "markdown" # default new page file extension when using the new_page task
|
||||
server_host = ENV['IP'] ||= '0.0.0.0' # host ip address for preview server
|
||||
server_port = ENV['PORT'] ||= "4000" # port for preview server eg. localhost:4000
|
||||
server_host = ENV['OCTOPRESS_IP'] ||= '0.0.0.0' # host ip address for preview server
|
||||
server_port = ENV['OCTOPRESS_PORT'] ||= "4000" # port for preview server eg. localhost:4000
|
||||
|
||||
desc "Initial setup for Octopress: copies the default theme into the path of Jekyll's generator. Rake install defaults to rake install[classic] to install a different theme run rake install[some_theme_name]"
|
||||
task :install, :theme do |t, args|
|
||||
|
Loading…
Reference in New Issue
Block a user