Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emilio2hd/myinterviews
Application to manage job applications, interviews, cover letters and feedbacks
https://github.com/emilio2hd/myinterviews
cover-letter docker feedback interview interviews management-system rails
Last synced: about 1 month ago
JSON representation
Application to manage job applications, interviews, cover letters and feedbacks
- Host: GitHub
- URL: https://github.com/emilio2hd/myinterviews
- Owner: emilio2hd
- License: mit
- Created: 2017-04-20T12:26:31.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-07T11:37:36.000Z (over 1 year ago)
- Last Synced: 2023-10-07T12:28:09.121Z (over 1 year ago)
- Topics: cover-letter, docker, feedback, interview, interviews, management-system, rails
- Language: Ruby
- Homepage:
- Size: 4.43 MB
- Stars: 22
- Watchers: 2
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
myinterviews
=============
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
[![Build Status](https://circleci.com/gh/emilio2hd/myinterviews.svg?style=shield)](https://app.circleci.com/pipelines/github/emilio2hd/myinterviews)
[![codebeat badge](https://codebeat.co/badges/ef8d86f7-cf6c-4726-bd2d-4bac89cc62c1)](https://codebeat.co/projects/github-com-emilio2hd-myinterviews-master)
[![Coverage Status](https://coveralls.io/repos/github/emilio2hd/myinterviews/badge.svg?branch=add-coverall)](https://coveralls.io/github/emilio2hd/myinterviews?branch=add-coverall)The goal of this app is to manage job applications, interviews, cover letters and feedbacks.
![Template](./docs/images/interviews.png)
# Docker
You can run the application using Docker.The container has the port **3000** exposed.
The application does not contain a database, so you must inform the database info via environment variables.
### Build container
To build an image of the application, execute:
```
docker build -t myinterviews .
```### Environment Variables
* **APP_DB_HOST** - The database's host address
* **APP_DB_PORT** - The database's port
* **APP_DB_USER** - The database's username
* **APP_DB_PASSWORD** - The database's password
* **SECRET_KEY_BASE** - The secret key is required to run in production mode### Docker-compose
Here is an example of a docker-compose.yml file:```yml
db:
image: postgres:9.4
container_name: myinterviews-db
restart: always
ports:
- "5432:5432"
environment:
- POSTGRES_USER=db_user
- POSTGRES_PASSWORD=123456
- POSTGRES_DB=myinterviews
web:
container_name: myinterviews-web
restart: always
build: .
# volumes:
# - :/var/local/myinterviews/backups
ports:
- "3000:3000"
environment:
- APP_DB_HOST=db
- APP_DB_PORT=5432
- APP_DB_USER=db_user
- APP_DB_PASSWORD=123456
- SECRET_KEY_BASE=ef8705c8be8bc5c562fd403847e1451d8e149ba4bf88dea34c7e0c99fc55556d3ea3e0619b24ff7399f19c3c0e7798b62ffe643e8a6911cee982e7143ef0e262
links:
- db
```# Database Backups
In order to dump or restore database, there is a rake task to do this.
```bash
# dump the development db
rake db:dump# dump the production db
RAILS_ENV=production rake db:dump
```
The rake task will check for `BACKUP_FOLDER` environment variable. When not defined, will create in the `db` folder.
A backup file will be created with the following pattern `AAAAMMDDHHMMSS_dbname.dump`.```bash
# list all the dumps
rake db:dumps# restore db based on a latest backup file matching the pattern (e.g. 20210821)
rake db:restore pattern=20210821
```### Docker
In the Docker image, the backup files will be stored in `/var/local/myinterviews/backups`.
So, if you want the file out of the container mount the volume pointing to that folder. When using docker-compose, add:
```yml
volumes:
- :/var/local/myinterviews/backups
```# Email Configuration
My Interviews has support to send emails by smtp only.
:warning: Note: As of July 15, 2014, Google increased [its security measures](https://support.google.com/accounts/answer/6010255)
and now blocks attempts from apps it deems less secure.# Contributions
If you want to contribute, open a issue or send me a pull request. ;)