Skip to content
An application to track IT jobs in São Carlos area
Ruby HTML JavaScript CSS Dockerfile
Branch: master
Clone or download
Latest commit d9cc68c May 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Handle company custom subdomain (#147) Dec 3, 2018
bin Upgrade Rails version to 5.2.1 (#121) Oct 16, 2018
config Remove force SSL May 14, 2019
db Add domain to company (#140) Oct 29, 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 Handle company custom subdomain (#147) Dec 3, 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
.dockerignore Reduce Docker image (#164) Feb 15, 2019
.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 Replace CoffeeScript with ES6 (#139) Oct 30, 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 Reduce Docker image (#164) Feb 15, 2019
Gemfile Configure Skylight Feb 19, 2019
Gemfile.lock Configure Skylight Feb 19, 2019
LICENSE Create license (#124) Oct 27, 2018
Procfile Add custom sidekiq configuration Mar 28, 2017
README.md Add Skylight badge on README Feb 20, 2019
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 Reduce Docker image (#164) Feb 15, 2019
package.json Reduce Docker image (#164) Feb 15, 2019
yarn.lock Replace CoffeeScript with ES6 (#139) Oct 30, 2018

README.md

OpenJobs

Build Status

Build Status

Performance Monitoring

View performance data on Skylight

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 (the containers should be up for the command below to work, so be sure to run the command above before proceeding):

$ docker-compose exec web bin/setup

Done

Navigate to http://localhost:3000 to access

You can’t perform that action at this time.