Skip to content
/ venjob Public

A Ruby on Rails website which crawls jobs from various websites to apply jobs

Notifications You must be signed in to change notification settings

hungntt/venjob

This branch is 1 commit ahead of master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0680c85 · Oct 20, 2022
Jan 31, 2020
Jan 2, 2020
Jan 31, 2020
Feb 1, 2020
Feb 1, 2020
Jan 2, 2020
Jan 2, 2020
Jan 2, 2020
Jan 14, 2020
Jan 2, 2020
Jan 2, 2020
Jan 2, 2020
Jan 6, 2020
Jan 2, 2020
Jan 31, 2020
Jan 31, 2020
Oct 20, 2022
Mar 6, 2020
Jan 2, 2020
Mar 6, 2020
Jan 2, 2020
Jan 2, 2020
Jan 3, 2020
Jan 3, 2020
Jan 2, 2020
Jan 2, 2020
Jul 20, 2022

Repository files navigation

Website: http://venjob.herokuapp.com/

  • Ruby on Rails version: 6
  • Database: mysql2
  • Stylesheet: bootstrap 4, scss

DATABASE

  • Create model User with Devise.
  • Create other models and their associations based on the database model.
  • Migrate into the mysql database

SET UP SOLR SERVER

  • Import from MySQL to Solr (version 8.3.1)
    • Set up Dataimport
      • Move to the config folder of the core
        • Find the data folder of the core (find at the Overview), for example: /var/solr/data/venjob/data
        • Open cmd to edit the solrconfig.xml file:
          • sudo -s
          • cd /data/venjob/conf
          • gedit solrconfig.xml
          • Add to file solrconfig.xml 2 lines:
            • Import lib: <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-dataimporthandler-.*\.jar" />
            • Import RequestHandler: <requestHandler name="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler"> <lst name="defaults"> <str name="config">/home/username/data-config.xml</str> </lst> </requestHandler>
      • Configuring DataSources