pave 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -4
- data/bin/pave +19 -1
- data/lib/pave/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98a869bd5b96a289c763eadde666025f5567b4d7
|
4
|
+
data.tar.gz: fffa67dd00d88c5ee66b81b12a22341fef1165bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
16
|
-
|
17
|
-
|
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 "
|
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