Branch | Status
--------| -------
master |
development |
Name | Version
--------|--------- docker-compose | 1.8.0-rc1 docker | 1.12.0-rc3
Step №1: Clone repository.
$ git clone --recursive https://github.com/absortium/deluge.git
$ cd delugeStep №2: Ask maintainer to give you .sensitive file.
Step №3: Install backend and run tests.
$ ./useful/install.sh backendStep №1: Install frontend and run tests.
$ ./useful/install.sh frontendStep №2: For simplicity I prefer use aliases which I developed for this project, on first sign it might look overwhelming, but I think it may significantly help you for developing, so add env variables and aliases from useful directory - copy this in the .bashrc or .zshrc (this code install project aliases every time when you instantiate terminal window):
export DELUGE_PATH="YOUR_WORK_DIRECTORY_PATH"
export DEFAULT_MODE="frontend"
for f in $DELUGE_PATH/useful/aliases/*; do
source "$f"
done Step №3: Run frontend.
$ dc up frontendStep №4: Go to the localhost:3000
m-backend- main backend service.w-backend- backend worker service (celery).frontend- frontend service.postgres- postgres service (postgres data are stored separately, even if you remove service the data would be persisted).rabbitmq- queue service.redis- redis service (needed as backend forrabbitmqtasks store).router-crossbar.ioservice which notify user about new offers, market info, exchange history changes.
-
god- go to theDELUGE_PATHdirectory. -
godd- go to thedockerdirectory. -
gods- go to theservicesdirectory. -
gods <backend|frontend|ethwallet|router|ethnode>- go to theserviceproject directory. -
di- list all images. -
dps- list all working containers. -
dcinit <unit|integration|frontend|testnet>- init start mode, default mode isDEFAULT_MODE.frontend- external systems like
coinbaseandethwalletare mocked. postgres,rabbitmq,celery,routerservices are required to be up in order to celery task work.- celery workers are working and celery tasks are executing like in real system.
- Service
notifieris working and emulating money notification fromcoinbaseandethwallet.
- external systems like
- (for more information please read
README.mdin thedockerdirectory)
-
dc- alias fordocker-compose -f $DELUGE_PATH/docker/images/dev.yml -f $DELUGE_PATH/docker/composes/frontend.yml. -
dc(b| build) <service>- build service. -
dc(r| run) <service>- run service. -
dc(u| up) <service>- up service. -
dc(l| logs) <service>- output service logs. -
drmc <regex>- delete containers that much regex expression. -
drmi <regex>- delete images that much regex expression. -
drmd <regex>- delete volumes that much regex expression.