Table of contents
To deploy in dev mode (requirements are docker and docker-compose and you have to free ports 80). You have to have narra repository clonned side by side with narra-deploy repo. For module development remains the same. It should be side by side with the narra-deploy and narra repo. Then in narra gemifile it should be added relatively like gem 'you_gem', path: '../your_gem'
.
make start
Then NARRA API Service will be available on http://api.narra, NARRA Editor Service will be available on http://editor.narra and NARRA Storage Service will be available on http://storage.narra.
To debug master or worker node just call
make debug
Then for master node debugger will run on port 1234
and for worker node on port 1235
. Debug mode is prepared for RubyMine Remote Debugging.
All environment variables essential for deploy are located in narra.env
file.
Site unique instance name. It should be unique for the same storage account.
Amazon AWS Access Credentials for storage type aws
. When enabled the aws
storage is activated.
GitHub user authentication service
Google user authentication service