An application to track IT jobs in São Carlos area
Clone or download
Permalink
Failed to load latest commit information.
app Extract vacancy item section into a component partial (#94) Mar 31, 2018
bin List company's vacancies and allow edit then. (#89) Mar 23, 2018
config Force SSL in production (#91) Mar 26, 2018
db Remove company's column from vacancy model (#84) Mar 5, 2018
lib Follow Rubocop style guide Feb 16, 2018
log First commit 🍻 Feb 21, 2017
public Add 120x120 favicon for apple Mar 21, 2018
spec Extract vacancy item section into a component partial (#94) Mar 31, 2018
vendor Upgrade to Rails 5.1.beta1 Feb 28, 2017
.babelrc Update webpacker (#54) Jul 4, 2017
.codeclimate.yml Disable fixme engine on code climate Mar 10, 2017
.env.sample Update README with informations about Local Development with and with… Mar 4, 2018
.eslintignore Modify rubocop file to avoid conflict with code climate Feb 22, 2017
.eslintrc Modify rubocop file to avoid conflict with code climate Feb 22, 2017
.gitignore Update README with informations about Local Development with and with… Mar 4, 2018
.hound.yml Add hound configuration Mar 4, 2017
.postcssrc.yml Update webpacker (#54) Jul 4, 2017
.rspec Configure capybara for features test Feb 21, 2017
.rubocop.yml Upgrade to Ruby 2.5.0 & Rails 5.1.5 (#79) Feb 27, 2018
.scss-lint.yml Company registration and login (#63) Feb 22, 2018
.travis.yml Upgrade to Ruby 2.5.0 & Rails 5.1.5 (#79) Feb 27, 2018
Dockerfile Upgrade to Ruby 2.5.0 & Rails 5.1.5 (#79) Feb 27, 2018
Gemfile Configure Guard Jun 23, 2018
Gemfile.lock Update sidekiq to version 5.2.1 (#116) Sep 14, 2018
Procfile Add custom sidekiq configuration Mar 28, 2017
README.md List company's vacancies and allow edit then. (#89) Mar 23, 2018
Rakefile Follow Rubocop style guide Feb 16, 2018
app.json Company registration and login (#63) Feb 22, 2018
config.ru Follow Rubocop style guide Feb 16, 2018
docker-compose.yml List company's vacancies and allow edit then. (#89) Mar 23, 2018
package.json Fixed jump to 'how to apply' section issue (#59) Oct 6, 2017
yarn.lock Update README with informations about Local Development with and with… Mar 4, 2018

README.md

OpenJobs

Build Status

Build Status

Get Started

$ git clone https://github.com/opensanca/opensanca_jobs.git
$ cd opensanca_jobs

Environment

Your environment variables goes here in .env

# cp .env.sample .env

You can run OpenJobs locally by two ways.

  • Local classic development.
  • Local Docker development.

Local Development

Dependencies

Ruby

The application uses Ruby 2.5.0. You should install it to run the application. (for development we recommend to use RVM)

Postgres

We use PostgreSQL as database. You should install it to run the app. If needed, you should configure the config/database.yml file.

Tip - If you don't like boring installations. Try Docker containers.

You can use Docker to easy database setup.

$ docker run --name postgres_open_jobs \
  -e POSTGRES_PASSWORD=postgres \
  -e POSTGRES_DB=opensanca_jobs_development \
  -e POSTGRES_USER=postgres \
  -p 5432:5432 -d postgres:9.6.5
Redis

We use Redis for asynchronous jobs.

Tip - Try Docker containers.

You can use Docker to startup Redis.

$ docker run --name redis -p 6379:6379 -d redis
Mail server

For local development, we suggest to use Mailhog (https://github.com/mailhog/MailHog) or Mailcatcher (https://mailcatcher.me/)

Configuring the project

Install the dependencies and configure the database

$ bin/setup

Run the tests

$ rspec .

Start the app:

$ bin/rails s

Docker Development

Dependencies

Docker

Configuring the project

Starting containers

$ docker-compose up

Configure database schemas and migrations

$ docker-compose run --rm web bin/setup

Done

Navigate to http://localhost:3000 to access