Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgregorio committed Apr 13, 2018
1 parent 35f40fd commit b7aa610
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ The core:
- Apache Delta Spike Data Module for database querying and repositories functionality
- Apache Shiro 1.4 through [ShiroEE](https://github.com/arthurgregorio/shiro-ee) for Security with LDAP/AD and database authentication support
- Maven for building and dependency management
- Flyway for database migrations

The extras:

Expand Down Expand Up @@ -88,26 +89,10 @@ CREATE USER sa_library WITH
NOCREATEROLE
NOREPLICATION
ENCRYPTED PASSWORD 'sa_library';

-- the database
CREATE DATABASE library
WITH
OWNER = sa_library
ENCODING = 'UTF8'
LC_COLLATE = 'en_US.utf8'
LC_CTYPE = 'en_US.utf8'
TABLESPACE = pg_default
CONNECTION LIMIT = -1;

-- the schemes
CREATE SCHEMA audit
AUTHORIZATION sa_library;
CREATE SCHEMA security
AUTHORIZATION sa_library;
CREATE SCHEMA security_audit
AUTHORIZATION sa_library;
```

The tables and the initial data (default user, group and authorizations) will be created by Flyway with the migrations strategy.

## How to: run on IDE

Just import the maven project and deploy to you already configured Wildfly server. Remember to first configure the infrastructure.
Expand Down

0 comments on commit b7aa610

Please sign in to comment.