Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
endurance21 committed Feb 23, 2020
2 parents f380f6f + fe7961e commit cbda1b4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions DEPENDENCIES_MANUAL_INSTALL.md
Expand Up @@ -57,13 +57,13 @@ set up data identical to the data we have on the bookbrainz.org website. First,
Then you can restore the database from the lates dump you dowloaded. To do
this, run:

psql -h localhost -U postgres -f latest.sql
psql -h localhost -U postgres -d bookbrainz -f latest.sql

At this point, the database is set up, and the following command should give
you a list of usernames of BookBrainz editors (after entering the password from
earlier):

psql -h localhost -U postgres bookbrainz -c "SELECT name FROM bookbrainz.editor"
psql -h localhost -U postgres bookbrainz --command="SELECT name FROM bookbrainz.editor"

You are also required to set the password of your local PostgreSQL instance.
You can do this by
Expand Down
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -13,16 +13,17 @@ are arranged as follows:

* `config` - the config to be used when running the site; copy the example files
and edit, dropping the `.example` suffix.
* `docker` - deployment files and configurations
* `scripts` - scripts used during the development and deployment of BookBrainz.
* `sql` - PostgreSQL database schemas and migration files—formerly separated in https://github.com/bookbrainz/bookbrainz-sql
* `src` - node.js source files defining the site logic and user interface.
* `static` - static files which are served by node as part of the site.
* `templates` - Jade templates defining how the site looks - we're slowly
replacing these with React.
* `test` - unit tests and functional tests for the site.

Additionally, after building the client JavaScript (see below), the following
directories will exist:

* `lib` - compiled and minified server files
* `static/stylesheets` - the CSS generated from compiling the project LESS files
(`src/client/stylesheets`).
* `static/js` - minified JavaScript files which are referred to by the site
Expand Down
Empty file removed bookbrainz-site/static/js/.keep
Empty file.
3 changes: 2 additions & 1 deletion docker-compose.yml
Expand Up @@ -18,7 +18,7 @@ services:
- postgres
volumes:
- "./config/config.json:/home/bookbrainz/bookbrainz-site/config/config.json:ro"

postgres:
container_name: postgres
restart: unless-stopped
Expand All @@ -28,6 +28,7 @@ services:
- "5432:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- postgres-data:/var/lib/postgresql/data

Expand Down

0 comments on commit cbda1b4

Please sign in to comment.