weblicate 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -2
- data/Rakefile +1 -1
- data/bin/weblicate +3 -1
- data/lib/weblicate/har.rb +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -22,11 +22,11 @@ generates the following output:
|
|
22
22
|
|
23
23
|
files-usa.weblicate.info # All files and assets for the page
|
24
24
|
hosts-usa.weblicate.info # Entries that can be added to your local hosts file
|
25
|
+
vhosts-usa.weblicate.info # Apache vhosts entries for all domains
|
25
26
|
|
26
|
-
You also get these
|
27
|
+
You also get these in case you want the outside world to be able to see your weblicant:
|
27
28
|
|
28
29
|
dns-usa.weblicate.info # A script to create DNS entries (on Slicehost.com)
|
29
|
-
vhosts-usa.weblicate.info # Apache vhosts entries for all domains
|
30
30
|
|
31
31
|
== Copyright
|
32
32
|
|
data/Rakefile
CHANGED
@@ -5,7 +5,7 @@ begin
|
|
5
5
|
require 'jeweler'
|
6
6
|
Jeweler::Tasks.new do |gem|
|
7
7
|
gem.name = "weblicate"
|
8
|
-
gem.version = '0.0.
|
8
|
+
gem.version = '0.0.3'
|
9
9
|
gem.summary = %Q{Replicate a website}
|
10
10
|
gem.description = %Q{Replicate a website based on a HAR file}
|
11
11
|
gem.email = "mike@bailey.net.au"
|
data/bin/weblicate
CHANGED
@@ -11,7 +11,9 @@ File.open('hosts-' + a.dest_domain, 'w') { |file| file.write(a.hosts_file) }
|
|
11
11
|
File.open('vhosts-' + a.dest_domain, 'w') { |file| file.write(a.vhosts) }
|
12
12
|
File.open('dns-' + a.dest_domain, 'w') { |file| file.write(a.dns) }
|
13
13
|
|
14
|
+
puts
|
14
15
|
puts "Now run these commands..."
|
15
16
|
puts "rsync -avz files-#{a.dest_domain}/ #{a.dest_domain}:/var/www/weblicate/"
|
16
|
-
puts "sh dns-#{a.dest_domain}"
|
17
17
|
puts "scp vhosts-#{a.dest_domain} #{a.dest_domain}:/etc/apache2/apps/"
|
18
|
+
puts "# Now reload apache"
|
19
|
+
puts "sh dns-#{a.dest_domain} # (optional) Create domains on Slicehost"
|
data/lib/weblicate/har.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: weblicate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mike Bailey
|