pave 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -0
  3. data/lib/pave.rb +10 -1
  4. data/lib/pave/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 336a915f47ac0ca22f465ccb1d076c249a67cf62
4
- data.tar.gz: ee36a78dec4ac519c38abffa5ddbe729d5f934a9
3
+ metadata.gz: a1efe1f4a7cd15d8abd9b0000021029ea6068603
4
+ data.tar.gz: 68292df8e9f81cc0e2f0e978ad63fd21357481a5
5
5
  SHA512:
6
- metadata.gz: 180f04f27dc56ff0c5e1e817caabc816d32229bf313a2fef5433e5ee4a5ffd9f5dec4807f6f0ed04d72da7944aa95b1c2e016bc85adb36d3dd144ac0be13f9b6
7
- data.tar.gz: 28acc1201c1ce7a76c3d356f64dd0cfdd91455b02972c3c75603c0513cc818e56f7b4944801ced3f9ee21de32002be2b3cfd7b5e19877205e05ac65c816a44c3
6
+ metadata.gz: 2bafbd805869df00d544095ac5213681c0aa6658cec67733c66146e68114cb7193daf1894fdba21e106f0696cfbc6658380a1a792ee19762ca11bce0b99de14b
7
+ data.tar.gz: 60eed40b304c6944fb77454b4f89c8d45fea6616e4a737bbe683e724baadb56e9934efc880a33dd6760a7465505ab272c03387e189f2a8f152cc4d02882ad653
data/README.md CHANGED
@@ -12,6 +12,12 @@ Provides a set of command line tools for Concrete5.
12
12
 
13
13
  $ pave new mywebsite
14
14
 
15
+ This will download Concrete 5.6.2.1, unzip it into the `mywebsite`
16
+ folder, remove extra folders, and build an app folder of commonly
17
+ used folders (symlinked into the root folder so Concrete5 can find them).
18
+
19
+ It also initializes a Git repo and adds the first ("Initial") commit.
20
+
15
21
  ## Contributing
16
22
 
17
23
  0. Create an issue explaining what you'd like to do and get feedback
@@ -22,11 +22,12 @@ module Pave
22
22
  clone_concrete5
23
23
  set_up_app_folder
24
24
  initialize_git
25
+ create_virtual_host
25
26
  end
26
27
 
27
28
  def clone_concrete5
28
29
  info "* Downloading Concrete5 version 5.6.2.1..."
29
- sh "curl http://www.concrete5.org/download_file/-/view/58379/8497 -o c5.zip"
30
+ sh "curl http://www.concrete5.org/download_file/-/view/58379/8497 -o c5.zip > /dev/null"
30
31
  info "* Download complete. Unzipping..."
31
32
  sh "unzip c5.zip"
32
33
  sh "rm c5.zip"
@@ -49,6 +50,14 @@ module Pave
49
50
  sh "cd #{name} && git init && git add -A && git commit -m 'Initial'"
50
51
  end
51
52
 
53
+ def create_virtual_host
54
+ # /private/etc/apache2/extra/httpd-vhosts.conf
55
+ # <VirtualHost *:80>
56
+ # ServerName "mywebsite.site"
57
+ # DocumentRoot "<pwd>/mywebsite.dev"
58
+ # </VirtualHost>
59
+ end
60
+
52
61
  def symlink_folders
53
62
  symlinked_folders.each do |folder|
54
63
  sh "mv #{name}/#{folder} #{name}/app/#{folder}"
@@ -1,3 +1,3 @@
1
1
  module Pave
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pave
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamon Holmgren