Skip to content

Commit

Permalink
Merge pull request #209 from consuldemocracy/release_multitenancy
Browse files Browse the repository at this point in the history
Install Consul Democracy version 2.0.0
  • Loading branch information
javierm authored Jul 17, 2023
2 parents 9813dd1 + 0600f05 commit d50e5b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Setup locally for your [development environment](https://docs.consuldemocracy.or
Checkout the latest stable version:

```
git checkout origin/1.5.0 -b stable
git checkout origin/2.0.0 -b stable
```

Create your `deploy-secrets.yml`
Expand Down Expand Up @@ -206,13 +206,13 @@ Using https instead of http is an important security configuration. Before you b

Once you have that setup we need to configure the Installer to use your domain in the application.

First, uncomment the `domain` variable in the [configuration file](https://github.com/consuldemocracy/installer/blob/1.5.0/group_vars/all) and update it with your domain name:
First, uncomment the `domain` variable in the [configuration file](https://github.com/consuldemocracy/installer/blob/2.0.0/group_vars/all) and update it with your domain name:

```
#domain: "your_domain.com"
```

Next, uncomment the `letsencrypt_email` variable in the [configuration file](https://github.com/consuldemocracy/installer/blob/1.5.0/group_vars/all) and update it with a valid email address:
Next, uncomment the `letsencrypt_email` variable in the [configuration file](https://github.com/consuldemocracy/installer/blob/2.0.0/group_vars/all) and update it with a valid email address:

```
#letsencrypt_email: "[email protected]"
Expand Down Expand Up @@ -259,7 +259,7 @@ If you are on Ubuntu and would like to use its default `sudo` group instead of `
deploy_group: sudo
```

There are many more variables available check them out [here]((https://github.com/consuldemocracy/installer/blob/1.5.0/group_vars/all))
There are many more variables available check them out [here]((https://github.com/consuldemocracy/installer/blob/2.0.0/group_vars/all))

## Other deployment options

Expand Down Expand Up @@ -289,7 +289,7 @@ If you do not have `root` access, you will need your system administrator to gra

## Using a different user than deploy

Change the variable [deploy_user](https://github.com/consuldemocracy/installer/blob/1.5.0/group_vars/all#L13) to the username you would like to use.
Change the variable [deploy_user](https://github.com/consuldemocracy/installer/blob/2.0.0/group_vars/all#L12) to the username you would like to use.

## Ansible Documentation

Expand Down
2 changes: 1 addition & 1 deletion roles/folder_structure/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
state: directory

- name: Create first release
shell: "git archive 1.5.0 | /usr/bin/env tar -x -f - -C {{ first_release_dir }}"
shell: "git archive 2.0.0 | /usr/bin/env tar -x -f - -C {{ first_release_dir }}"
args:
chdir: "{{ consul_dir }}/repo"

Expand Down
8 changes: 0 additions & 8 deletions roles/postgresql/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,3 @@
- plpgsql
- unaccent
- pg_trgm

- name: Grant usage on shared extensions schema
postgresql_privs:
db: "{{database_name}}"
privs: USAGE
type: schema
objs: shared_extensions
role: public

0 comments on commit d50e5b8

Please sign in to comment.