Changeset - bce03e4d9e85
[Not reviewed]
0 1 0
Branko Majic (branko) - 3 years ago 2021-01-18 22:33:44
branko@majic.rs
MAR-151: Fix The Bug Genie backup example in usage instructions:

- Properly set-up the directory where files are uplaoded.
- Update instructions to mention what needs to be done in order to
upload some files in The Bug Genie.
1 file changed with 24 insertions and 3 deletions:
0 comments (0 inline, 0 general)
docs/usage.rst
Show inline comments
 
@@ -1563,6 +1563,22 @@ Before we start, here is a couple of useful pointers regarding the
 
          - "composer.json"
 
          - "composer.lock"
 

	
 
      - name: Create directory for storing uploaded files
 
        file:
 
          path: "/var/www/tbg.example.com/files"
 
          state: directory
 
          mode: 02770
 
        become: yes
 
        become_user: admin-tbg_example_com
 

	
 
      - name: Create symlink towards directory where uploaded files are stored
 
        file:
 
          src: "/var/www/tbg.example.com/files"
 
          dest: "/var/www/tbg.example.com/thebuggenie-{{ tbg_version }}/files"
 
          state: link
 
        become: yes
 
        become_user: admin-tbg_example_com
 

	
 
      - name: Create TBG cache directory
 
        file:
 
          path: "/var/www/tbg.example.com/thebuggenie-{{ tbg_version }}/cache"
 
@@ -2401,9 +2417,14 @@ Genie*. So let's fix that one.
 

	
 
     workon mysite && ansible-playbook playbooks/site.yml
 

	
 
3. Now rerun the backup on server ``www.example.com`` (as root). If you haven't
 
   uploaded any files, you may want to do so before testing to make sure
 
   something is backed-up.
 
3. Now rerun the backup on server ``www.example.com`` (as root). If
 
   you haven't uploaded any files, you may want to do so before
 
   testing to make sure something is backed-up. This will require
 
   enabling file uploads in `The Bug Genie settings
 
   <https://tbg.example.com/configure/files>`_, creating a test
 
   project, and then adding a new project release (via project's
 
   release center). While creating a new project release, it is
 
   possible to upload a release file.
 

	
 
   ::
 

	
0 comments (0 inline, 0 general)