Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
CSammy committed Apr 15, 2018
1 parent b81ee82 commit 4a54b78
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,5 @@ This image is intended exclusively for development.

## Build And Run

1. Copy `example.env` to `.env`
1. Set `EXT_UID` and `EXT_GID` in `.env` according to your user's user and group ID
1. Execute `docker-compose build diaspora` (takes some time)
1. Copy or link your diaspora code to `./diaspora.docker`
1. Execute `docker-compose up`

- To restart, do `docker-compose restart diaspora` or (faster) `docker-compose exec diaspora /bin/bash --login -c "bin/eye restart diaspora"`
- To start without migrations and bundle install, set any value for `DIASPORA_DOCKER_DEV_INSTALL_GEMS` and `DIASPORA_DOCKER_DEV_DB_MIGRATE` in `.env`. It is only executed if these variables are empty

## TODO

- Control migrations and bundle installing more intuitively
- Create external script for controlling/handling the setup
- RVM env with proper commands (`rvm gemset create 2.4@diaspora && rvm ruby-2.4@diaspora do gem install bundler`) instead of building a "skeleton" by hand (see also https://github.com/SuperTux88/diaspora-formula/blob/master/diaspora/install.sls)
- Copy or link your diaspora code to `./diaspora.docker`
- For usage information see `./wrapper --help`

0 comments on commit 4a54b78

Please sign in to comment.