Skip to content

mekona-hbtn/opiTranslate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



opiTranslate


opiTranslate

Opground's platform was born to connect talent from all over the world. At first, they decided to go for Spanish and Latin American talent to connect them with Spanish companies. However, new companies from the United States and other countries have been using Opground and now expect to see interviews in English.

This is how opiTranslate was born, as a solution within the web site in which companies can translate the interviews of their candidates from any language preference to English or any other language. For this, a back-end was developed with Python and Flask that connects with the AWS Translate API service, and a front-end that preserves the Opground graphical interface. The DevOps pipeline was also implemented to automate the integration of basic software testing using Docker and GitHub Actions, as well as the automation of the application deployment with AWS EC2 and Nginx. You can visit the site at opiTranslate

Overview

The Holberton School teaches Computer Science Fundamentals with a project-based approach. This Capstone Project covers the high-level programming skills with emphasis on backend, frontend, cloud and devops acquired during the three trimesters of the program. It is developed under the guidance and supervision of the startup Opground.

Requirements

  • Python 3+ installed on the system
  • Able to write basic commands on a terminal window (macOS, Linux or Windows)

To run the app you'll need to download the code files by clicking Download opiTranslate or by cloning this repository with the following command in your command terminal. The result will be the same regardless of the option you choose.

~$ git clone https://github.com/mekona-hbtn/opiTranslate.git
~$ cd opiTranslate

Creation of the virtual environment

Before running the application it is necessary to set up a virtual work environment. For our project, we follow the recommended procedure of working with virtual environments with these simple steps.

  • In a terminal window, execute the following commands to create and activate a virtual environment:
# macOS or Linux
~/opiTranslate$ python3 -m venv venv
~/opiTranslate$ source ./venv/bin/activate

# Windows
~\opiTranslate$ py -3 -m venv venv
~\opiTranslate$ .\\venv\\Scripts\\activate
  • Finally, the dependency packages are installed inside the virtual environment:
# macOS, Linux or Windows
(venv) ~/opiTranslate$ pip install -r requirements.txt

Linux-based environments

By default, opiTranslate is configured to run on a Linux-based environment such as Ubuntu 20.04 LTS. If this is your case, move to the Invocation section.

Windows-based environments

Before running the application be sure to set the following environment variables:

(venv) ~\opiTranslate$ env:FLASK_APP = "app"
(venv) ~\opiTranslate$ env:FLASK_ENV = "production"

Invocation

Now we are ready to run opiTranslate typing the flask run command:

# macOS, Linux or PowerShell
(venv) ~/opiTranslate$ flask run

Authors

Made with 💟 by the Holbies...


Johanna Alfonso
@viajeradelaluz

Ornella Russo
@Ella711

Alejandro Pineda
@apinedas

Felipe Leon
@pipeleon

More information

Opground | Holberton School