The goal of this app is to manage applications, interviews, cover letters and feedbacks.
Do you wanna see the demo? Click here!
You can run the application using Docker.
The container has the port 3000 exposed.
The application does not contains a database, so you must inform the data base info by environment variables
To build an image of the application, execute:
docker build -t myinterviews .
- APP_DB_HOST - The database host address
- APP_DB_PORT - The database port
- APP_DB_USER - The database username
- APP_DB_PASSWORD - The database password
- SECRET_KEY_BASE - The secret key is required to run in production mode
Here is an example of a docker-compose.yml file:
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: .
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
If you know nothing of docker or it's not willing to install it, you can use VirtualBox + Vagrant.
Runs vagrant up
and go get a cup of coffee or watch something, because it's gonna take a while.
After finishing, you will se something like:
~~~ LOG ~~~
...
==> default: Creating myinterviews-db
==> default: Creating myinterviews-web
Using a browser, go to http://192.168.33.101:3000 and you'll see the dashboard (or at least you should)
Warning: The shell script creates a docker-compose.yml at /opt/myinterviews/docker-compose.yml with
a SECRET_KEY_BASE
default, so please, do generate another key and replace at docker-compose.yml and restart the web containers.
You can generate another key executing:
vagrant ssh
cd /opt/myinterviews/
docker exec -it myinterviews-web bash -lc "rake secret"
# Copy the generated secret
vi docker-compose.yml
# Replace the SECRET_KEY_BASE value and save
docker-compose restart web
In case of something wrong, execute:
vagrant ssh
cd /opt/myinterviews
docker-compose logs
To see the logs of docker
To update your application execute:
vagrant provision --provision-with update_app
My Interviews has support to send email only by smtp.
If you want to contribute, open a issue or send me a pull request. ;)