[doc] Fixing Markdown issues in Readme.
This commit is contained in:
parent
37b0be6e53
commit
134c052ee6
22
README.md
22
README.md
|
@ -6,21 +6,21 @@ A small experiment with Flask/Hy/Postgres. Doesn't do much yet.
|
||||||
|
|
||||||
Start with initializing the virtual environment and Postgres
|
Start with initializing the virtual environment and Postgres
|
||||||
|
|
||||||
\# From the project directory:
|
# From the project directory:
|
||||||
$ virtualenv venv
|
$ virtualenv venv
|
||||||
$ . ./venv/bin/activate
|
$ . ./venv/bin/activate
|
||||||
$ pip install hy psycopg2 flask
|
$ pip install hy psycopg2 flask
|
||||||
$ sudo -u postgres psql postgres
|
$ sudo -u postgres psql postgres
|
||||||
\> CREATE DATABASE officehours;
|
> CREATE DATABASE officehours;
|
||||||
\> CREATE USER officehours;
|
> CREATE USER officehours;
|
||||||
\> ALTER USER officehours WITH UNENCRYPTED PASSWORD '<password>';
|
> ALTER USER officehours WITH UNENCRYPTED PASSWORD '<password>';
|
||||||
\> ALTER USER officehours LOGIN;
|
> ALTER USER officehours LOGIN;
|
||||||
\> GRANT ALL PRIVILEGES ON DATABASE officehours TO officehours;
|
> GRANT ALL PRIVILEGES ON DATABASE officehours TO officehours;
|
||||||
\> \\CONNECT officehours;
|
> \CONNECT officehours;
|
||||||
\> CREATE EXTENSION citext;
|
> CREATE EXTENSION citext;
|
||||||
\> CREATE EXTENSION btree_gist;
|
> CREATE EXTENSION btree_gist;
|
||||||
\> CREATE EXTENSION plv8;
|
> CREATE EXTENSION plv8;
|
||||||
\> ^d
|
> ^d
|
||||||
|
|
||||||
Current functionality is demonstrated with:
|
Current functionality is demonstrated with:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue