瀏覽代碼

Updated directory paths and container names for installation

tags/1.0.3^2
Alej 2 年之前
父節點
當前提交
86a397c367
共有 1 個檔案被更改,包括 7 行新增7 行删除
  1. 7
    7
      README.md

+ 7
- 7
README.md 查看文件

@@ -66,7 +66,7 @@ Make sure `IS_DEV` is set to `true`. This is important.
66 66
 
67 67
 Currently the API uses `localhost`. This should be changed in production. 
68 68
 
69
-Set your directory owner to `www-data` with `docker exec -it craft-vue chown -R www-data:www-data ./wp-content` so your Wordpress container can write files
69
+Set your directory owner to `www-data` with `docker exec -it craft-wp chown -R www-data:www-data ./wp-content` so your Wordpress container can write files
70 70
 
71 71
 Lastly, run `npm run dev` to start the development server. 
72 72
 
@@ -77,15 +77,15 @@ If successful, it will tell you that it is running on `http://localhost:8081`
77 77
 Setup a staging server and initialize a bare git repo in the `/opt` directory
78 78
 
79 79
 ```
80
-git init --bare /opt/staging/craft-vue.git
80
+git init --bare /opt/staging/vue-wp.git
81 81
 ```
82 82
 
83
-Copy over the `post-receive` script from `./deployment` to `/opt/staging/craft-vue.git/hooks` and make it executable with the command `chmod ug+x /opt/staging/craft-vue.git/hooks/post-receive`
83
+Copy over the `post-receive` script from `./deployment` to `/opt/staging/vue-wp.git/hooks` and make it executable with the command `chmod ug+x /opt/staging/vue-wp.git/hooks/post-receive`
84 84
 
85 85
 On your development machine, add the staging server as a remote...
86 86
 
87 87
 ```
88
-git remote add staging <user>@<server_ip>:/opt/staging/craft-vue.git 
88
+git remote add staging <user>@<server_ip>:/opt/staging/vue-wp.git 
89 89
 ```
90 90
 
91 91
 When you are ready to get your app to the new server, run `git push && git push staging` and things will get pulled and built on the staging server. Sweet!
@@ -100,9 +100,9 @@ Included is a drone config, and some recommended steps to build.
100 100
 
101 101
 You also need to setup a `post-receive` hook on the host server.
102 102
 
103
-* On your *development* machine, add the target host as a remote `git remote add </opt/staging/craf-vue.git> staging master`
104
-* Login to the *remote* machine and setup a bare git repo on `git init --bare </opt/staging/craf-vue.git>`
105
-* Copy the `post-receive` hook file into the `</opt/staging/craf-vue.git/hooks/>` directory
103
+* On your *development* machine, add the target host as a remote `git remote add </opt/staging/vue-wp.git> staging master`
104
+* Login to the *remote* machine and setup a bare git repo on `git init --bare </opt/staging/vue-wp.git>`
105
+* Copy the `post-receive` hook file into the `</opt/staging/vue-wp.git/hooks/>` directory
106 106
 
107 107
 :question_mark: Misc
108 108
 --------------------

Loading…
取消
儲存