diff --git a/README.md b/README.md index da45867..f4130e5 100644 --- a/README.md +++ b/README.md @@ -5,16 +5,17 @@ Recommended OS: [Linux Ubuntu 14.04.4 LTS 64-bit](http://releases.ubuntu.com/14.04/). Dependencies: [Docker](https://www.docker.com/), [RabbitMQ](https://www.rabbitmq.com/), - [Graylog](https://www.graylog.org/), [Nodejs](https://nodejs.org/en/). + [Graylog](https://www.graylog.org/), [Nodejs](https://nodejs.org/en/), + [MongoDB](https://www.mongodb.com/). >Note: See Installation section to install dependencies. -You need install some packages: `build-essential`, `git`, `npm`, `python-pip`, +You need install some packages: `build-essential`, `git`, `python-pip`, `python-setuptools`. ```sh $ sudo apt-get update - $ sudo apt-get install -y build-essential git npm python-pip python-setuptools + $ sudo apt-get install -y build-essential git python-pip python-setuptools ``` ## Sources @@ -25,39 +26,28 @@ To get source code, use these command: $ git clone 'git@gitlab.lavid.ufpb.br:vlibras/vlibras-translate-container.git' ``` -## Installation +## Installation and Execution -To install vlibras-translate-container for production, use these commands: +To install and run vlibras-translate-container for production, use these commands: ```sh - $ docker build + $ sudo docker build . -t + $ sudo docker run -p 80:80 ``` -If you need to install for development, use these commands: +For the development, you need to install dependencies and run the workers manually: ```sh $ cd scripts $ ./configure ``` -## Execution instructions - -Execute the translator worker in the core folder: - ```sh - $ cd core - $ python translator.py + $ cd ../core + $ ./translator.py + $ ./renderer.py ``` -You can also run the worker through the process manager: - -```sh - $ cd core - $ python processManager.py -``` - ->Note: If an error occurs, the process manager re-executes the worker - ## Contributors * Erickson Silva -- libgit2 0.21.2