-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove references to old Docker repository
- Loading branch information
1 parent
e7dd215
commit 3d326f9
Showing
3 changed files
with
5 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,16 +20,14 @@ $ bundle exec foreman start | |
|
||
### Docker | ||
|
||
Docker images are published on Docker Hub. | ||
https://hub.docker.com/r/hogelog/dmemo/ | ||
|
||
``` | ||
$ docker build . -t dmemo | ||
$ cp .env.production.sample .env.docker | ||
$ # Set all environment variables. | ||
$ # You can generate secret_key_base by the following command: | ||
$ # `docker run --rm --env-file .env.docker -t hogelog/dmemo ./bin/rake secret` | ||
$ # `docker run --rm --env-file .env.docker -t dmemo ./bin/rake secret` | ||
$ vi .env.docker | ||
$ docker run --rm --env-file .env.docker -t hogelog/dmemo ./bin/docker_db_apply.sh | ||
$ docker run --rm --env-file .env.docker -t dmemo ./bin/docker_db_apply.sh | ||
$ docker-compose up | ||
``` | ||
|
||
|
@@ -38,21 +36,13 @@ $ docker-compose up | |
./bin/rails r 'SynchronizeDataSources.run' | ||
``` | ||
|
||
or | ||
|
||
``` | ||
docker run --rm --env-file .env.docker -t hogelog/dmemo ./bin/rails r 'SynchronizeDataSources.run' | ||
``` | ||
|
||
|
||
## Configure | ||
### Create Admin User | ||
- Login dmemo by google account | ||
- Activate user as admin | ||
``` | ||
$ ./bin/rake admin:activate [email protected] | ||
or | ||
$ docker run --env-file .env.docker hogelog/dmemo ./bin/docker_admin_activate.sh [email protected] | ||
$ ./bin/rake admin:activate [email protected] | ||
``` | ||
|
||
### Environment Variables | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.