Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
Restyaboard
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Ali Arshad
Restyaboard
Commits
f567e83c
Commit
f567e83c
authored
Dec 11, 2015
by
Tsubasa Namiki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README for #6
parent
5a19fbff
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
README.md
README.md
+23
-0
No files found.
README.md
View file @
f567e83c
...
...
@@ -52,6 +52,29 @@ ENV restyaboard_version=REPLACE_ME
But if you install a higher version than Dockerfile version, it may not work, perhaps.
In case of upgrade version, rebuild image and recreate container.
```
sh
docker-compose build
docker-compose up
-d
```
If you want to upgrade database, e.g.
(recommend to backup database before upgrade)
```
sh
docker-compose run
--rm
restyaboard bash
export
PGHOST
=
$POSTGRES_PORT_5432_TCP_ADDR
export
PGPORT
=
$POSTGRES_PORT_5432_TCP_PORT
export
PGUSER
=
$POSTGRES_ENV_POSTGRES_USER
export
PGPASSWORD
=
$POSTGRES_ENV_POSTGRES_PASSWORD
psql
-d
restyaboard
-f
sql/upgrade-0.1.3-0.1.4.sql
psql
-d
restyaboard
-f
sql/upgrade-0.1.4-0.1.5.sql
exit
```
License
------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment