A Ruby on Rails job post aggregator for the code4lib community.
To install the Job Board, you need the following:
- Ruby 2.3 or greater
- A database engine, e.g. MySQL, Postgresql, or SQLite3
- A compatible JavaScript installation for asset compilation (see https://github.com/sstephenson/execjs#readme)
$ bin/setup
$ rake db:migrate
$ rails serverThe application should be available at http://127.0.0.1:3000.
Fetch the dump.tar.gz file from https://archive.org/details/jobs.code4lib.org and extract it into ./tmp/dump.
$ rake db:seed
To run the tests:
$ rake
# or
$ rspec$ docker compose build$ docker compose up$ docker compose exec -u root app bin/setup$ docker compose exec -u root app rake db:migrate$ docker compose exec -u root app rake db:seed
At this point you may need to restart the whole thing or just run something like $ docker compose exec -u root app bundle exec rails restart.
To see the running app go to localhost:8081 in the host machine.
After that, either pull up the shell using docker desktop or something like:
$ docker compose exec -u root app bash