Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database.yml / setup info #20

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,20 @@ The list of jobs will be limited to the "easy to apply" ones from the page. The

The application has a matching algorithm that lets the user apply to jobs in which he/she is more than 50% compatible against the requirements for that specific position. The user can inspect the jobs and decide if it is appropiate to apply.

## Ubuntu 16.04 minimal install.
```shell
apt update
apt install ruby ruby-bundler build-essential zlib1g-dev sqlite3 libpq-dev libsqlite3-dev git qt4-qmake qt4-default libqtwebkit-dev libqtwebkit4 nodejs git
git clone https://github.com/jmopr/job-hunter.git
cd job-hunter/
bundle install
gem install sqlite3
./bin/setup
rails s
```
This starts the application on: http://localhost:3000


If you have any questions, contact the maintainers of this project:

- Juan Ortiz ([email protected])
Expand Down
27 changes: 27 additions & 0 deletions config/database.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
#
# default: &default
# adapter: sqlite3
# pool: 5
# timeout: 5000

default: &default
adapter: sqlite3
pool: 5
timeout: 5000

test:
<<: *default
database: db/test.sqlite3

production:
<<: *default
database: db/prod.sqlite3

development:
<<: *default
database: db/development.sqlite3