Skip to content

Commit b0f0dea

Browse files
author
Eddie Flores
committed
Update readme with instructions.
1 parent 0eb20a8 commit b0f0dea

File tree

1 file changed

+40
-23
lines changed

1 file changed

+40
-23
lines changed

README.md

Lines changed: 40 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -46,45 +46,62 @@ module.exports = {
4646

4747
```
4848

49+
## Directory Structure ##
4950

50-
> This project is based on this great repo: https://github.com/treyhunner/ember-deploy-ssh-index. Though, it's been modified to be serve a different purpose, lets give credit to where credit is due. On a related note, bug fixes and improvements will be pulled from upstream whenever possible.
51+
The following directory structure is created on your server. The basic gist is that your revisions will be stored inside of their own directory along with meta data about the revision (date of commit, commit message, author of the commit, and commit hash). Information about your revisions is viewable via the following command `ember deploy:list -e <your environment>`.
5152

52-
## Directory Structure ##
53+
**List revisions**
5354

54-
The following directory structure is created on your server. The basic gist is that your revisions will be stored inside of their own directory along with meta data about the revision (date of commit, commit message, author of the commit, and commit hash). Information about your revisions is viewable via the following command `ember deploy:list -e <your environment>`. Output will look like this:
55+
```sh
56+
$ ember deploy:list -e staging
57+
```
5558

5659
```sh
5760

5861
The following revisions were found:
5962

60-
Revision: f6b1807
61-
Date: Fri May 1 02:16:12 2015 -0400
62-
Commit: f6b180782c123bbf3ee8e8b0e935301b674e5f10
63-
Update comments in Brocfile for better documentation.
64-
Author: Eddie Flores <[email protected]>
65-
Activate: ember deploy:activate -r f6b1807 -e <environment>
66-
Preview: http://www.domain.com/rev/f6b1807
67-
68-
Revision: d188a58
69-
Date: Fri May 1 02:16:12 2015 -0400
70-
Commit: d188a589013e2d72efad05ec078d6a546106c887
71-
A whole new readme.
72-
Author: Eddie Flores <[email protected]>
73-
Activate: ember deploy:activate -r f6b1807 -e <environment>
74-
Preview: http://www.domain.com/rev/f6b1807
63+
Revision: 516d6e2
64+
Commit: 516d6e26bcb7e75c2620eae87eeb37ce1e481f8f
65+
Author: Eddie Flores <[email protected]>
66+
Date: Mon May 11 23:23:53 2015 -0400
67+
Message: Hello-added
68+
Filepath: /home/eddie/html/516d6e2/meta.json
69+
70+
71+
Revision: d821149
72+
Commit: d8211495be55c3e8b839ab963d9fec1910a44b05
73+
Author: Eddie Flores <[email protected]>
74+
Date: Fri May 1 08:17:40 2015 -0400
75+
Message: Update-comments-in-Brocfile-for-better-documentation
76+
Filepath: /home/eddie/html/d821149/meta.json
7577

7678
```
7779

80+
**Deploy revision**
81+
82+
```sh
83+
$ ember deploy -e staging
84+
```
85+
7886
```
7987
# In your server's file directory...
8088
81-
/revision:abc123/
89+
abc123/
8290
index.html # The index file
83-
revision.json # Meta data about this revision
91+
meta.json # Meta data about this revision
8492
85-
/revision:def456/
93+
def456/
8694
...
8795
88-
index.html --> /revision:abc123/index.html # Active symlink
96+
index.html --> abc123/index.html # Active symlink
97+
98+
```
99+
100+
**Activate revision**
101+
102+
```sh
103+
$ ember deploy:activate -e staging -r <revisionId>
104+
```
105+
89106

90-
```
107+
> This project is based on this repo: https://github.com/treyhunner/ember-deploy-ssh-index. Though, it's been heavily modified to serve a different purpose -credit where credit is due.

0 commit comments

Comments
 (0)