Fix typos in local installation instructions
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Local installation
|
# Local installation
|
||||||
|
|
||||||
Before installing Consul Democracy and having it up and running make sure you all [prerequisites](prerequisites.md) installed.
|
Before installing Consul Democracy and having it up and running make sure you have all [prerequisites](prerequisites.md) installed.
|
||||||
|
|
||||||
1. First, clone the [Consul Democracy Github repository](https://github.com/consuldemocracy/consuldemocracy/) and enter the project folder:
|
1. First, clone the [Consul Democracy Github repository](https://github.com/consuldemocracy/consuldemocracy/) and enter the project folder:
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ postgres -D /usr/local/var/postgres
|
|||||||
|
|
||||||
At this point we're supposed to have postgres correctly installed and a default user will automatically be created (whose name will match our username). This user hasn't got a password yet.
|
At this point we're supposed to have postgres correctly installed and a default user will automatically be created (whose name will match our username). This user hasn't got a password yet.
|
||||||
|
|
||||||
If we run `psql` we'll login into the postgres console with the default user. Probably it will fail since its required that a default database exists for that user. We can create it by typing:
|
If we run `psql` we'll login into the postgres console with the default user. It will probably fail since it's required that a default database exists for that user. We can create it by typing:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
createdb 'your_username'
|
createdb 'your_username'
|
||||||
@@ -62,7 +62,7 @@ createdb 'your_username'
|
|||||||
|
|
||||||
If we run `psql` again we should now get access to postgres console. With `\du` you can see the current users list.
|
If we run `psql` again we should now get access to postgres console. With `\du` you can see the current users list.
|
||||||
|
|
||||||
In case you want to set a password for your user you can make it through postgres console by:
|
In case you want to set a password for your user you can make it through the postgres console by:
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
ALTER USER your_username WITH PASSWORD 'your_password';
|
ALTER USER your_username WITH PASSWORD 'your_password';
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# Windows
|
# Windows
|
||||||
|
|
||||||
Windows is not yet officially supported. Please install [Virtual Box](https://www.virtualbox.org/) to setup a virtual machine in [Linux](prerequisites.md) or use [Docker](docker.md).
|
Windows is not officially supported yet. Please install [Virtual Box](https://www.virtualbox.org/) to setup a virtual machine in [Linux](prerequisites.md) or use [Docker](docker.md).
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ Si ejecutamos `psql` accederemos a la consola de postgres con el usuario por def
|
|||||||
createdb 'tu_nombre_de_usuario'
|
createdb 'tu_nombre_de_usuario'
|
||||||
```
|
```
|
||||||
|
|
||||||
Si ahora ejecutamos `psql` de nuevo deberíamos poder acceder correctamente a la consola de postgres. Si sobre la consola de postgres ejecutas `\du` puede ver la lista de usuarios actual.
|
Si ahora ejecutamos `psql` de nuevo deberíamos poder acceder correctamente a la consola de postgres. Si sobre la consola de postgres ejecutas `\du` puedes ver la lista de usuarios actual.
|
||||||
|
|
||||||
En el caso de que quieras asignarte una contraseña puedes hacerlo desde la consola de postgres con:
|
En el caso de que quieras asignarte una contraseña puedes hacerlo desde la consola de postgres con:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user