Просмотр исходного кода

Updated directory paths and container names for installation

tags/1.0.3^2
Alej 2 лет назад
Родитель
Сommit
86a397c367
1 измененных файлов: 7 добавлений и 7 удалений
  1. 7
    7
      README.md

+ 7
- 7
README.md Просмотреть файл

66
 
66
 
67
 Currently the API uses `localhost`. This should be changed in production. 
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
 Lastly, run `npm run dev` to start the development server. 
71
 Lastly, run `npm run dev` to start the development server. 
72
 
72
 
77
 Setup a staging server and initialize a bare git repo in the `/opt` directory
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
 On your development machine, add the staging server as a remote...
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
 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!
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
 
100
 
101
 You also need to setup a `post-receive` hook on the host server.
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
 :question_mark: Misc
107
 :question_mark: Misc
108
 --------------------
108
 --------------------

Загрузка…
Отмена
Сохранить