pave 0.0.7 → 0.0.8

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 +18 -4
  3. data/bin/pave +19 -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: d97a1c2d779e059256790ca2e24ae1910967bdec
4
- data.tar.gz: f9e5091a18e380182dc4c63d151f9a6fc14356c1
3
+ metadata.gz: 98a869bd5b96a289c763eadde666025f5567b4d7
4
+ data.tar.gz: fffa67dd00d88c5ee66b81b12a22341fef1165bb
5
5
  SHA512:
6
- metadata.gz: 8939e02d5fc88adbafb07ee42d45c5084d314ef48f1ee4941f20e510ff8606950732ec9f93e2654f27159778262453c0d7b17ca197c15b26859208c5d24758a5
7
- data.tar.gz: 2af8828d352bb9b6597759f8121bf4194aabeec1da86e4f7ee07a83fdd5e42acd9a9a6de2f7a3fd0b9d0fa77be05ee04516d698ec990800ac0fa7a04fbd945f5
6
+ metadata.gz: 0adfd47599886d5f33ed34e2b0759f3c57ddfa0fefe507e5059d7701104c5f5ffb3560fd3e4abe9e1192b6f19930ff723c8190dc3d8257b4d6a75d67eaf8dcf1
7
+ data.tar.gz: 6e22216b3cd2601e6ee8a3419c7d933907f2b303efb6965867b892a044da583a9836d9450dfb4dd3a97eeaa4a3b71bdc36a949ef66ddaf2ba698d6c66b72356e
data/README.md CHANGED
@@ -12,11 +12,25 @@ 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).
15
+ 1. Downloads Concrete 5.6.2.1
16
+ 2. Unzips it into `mywebsite`
17
+ 3. Removes extra folders
18
+ 4. Builds an app folder of commonly used folders (symlinked into the root folder so Concrete5 can find them)
19
+ 5. Initializes a Git repo and adds the first ("Initial") commit.
20
+
21
+ ## TODO
22
+
23
+ 1. Set up virtual host (`pave virtualhost mywebsite.dev`)
24
+ 2. ? Create database (`pave database mydatabase`)
25
+ 3. Tell user to go set up Concrete5 in-browser once virtual host and db is set up
26
+ 4. Uninstall? `pave remove mywebsite` (including virtual host)
27
+ 5. Just remove virtual host? `pave rmvirtualhost mywebsite.dev`
28
+ 6. Do database dumps. `pave db dump`
29
+ 7. Do live database download & replace local one. `pave db download` (confirmation first)
30
+ 8. Do local database upload & replace remote one. `pave db upload` (confirmation first)
31
+ 9.
32
+
18
33
 
19
- It also initializes a Git repo and adds the first ("Initial") commit.
20
34
 
21
35
  ## Contributing
22
36
 
data/bin/pave CHANGED
@@ -17,6 +17,10 @@ class App
17
17
 
18
18
  case command.to_sym
19
19
  when :new then Pave::Concrete.create(opt)
20
+ when :help then show_help
21
+ when :virtualhost then info "`virtualhost` command not implemented yet."
22
+ when :dbcreate then info "`dbcreate` command not implemented yet."
23
+ when :db then info "`db` command not implemented yet."
20
24
  else show_help
21
25
  end
22
26
 
@@ -24,7 +28,21 @@ class App
24
28
  end
25
29
 
26
30
  def self.show_help
27
- info "Invalid."
31
+ info "Commands:"
32
+ info " new <websitename>"
33
+ info " Downloads and configures a new Concrete5 website."
34
+ info ""
35
+ info "Future commands (not implemented yet):"
36
+ info " virtualhost <domain>"
37
+ info " Sets up a new virtualhost on Apache, pointing to the current folder."
38
+ info " dbcreate <dbname>"
39
+ info " Sets up a new database on the local MySQL instance."
40
+ info " db dump"
41
+ info " Dumps the current database to a local file."
42
+ info " db download"
43
+ info " Downloads the remote database and replaces the local database with it."
44
+ info " db upload"
45
+ info " Uploads the local database to the remote one, replacing what's there."
28
46
  end
29
47
 
30
48
  def self.create(name)
data/lib/pave/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pave
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
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.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamon Holmgren