Skip to content

job-hax/ats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ats

Applicant Tracking System

  1. Install Postgres and PIP3 for Python package management and NPM for Node and NGINX:
sudo apt-get update
sudo apt install -y postgresql postgresql-contrib python3-pip npm nginx
  1. Connect to PostgreSQL:
sudo su - postgres
psql
  1. Check login info:
postgres-# \conninfo
  1. Disconnect from PostgreSQL server:
postgres-# \q

Install backend:

sudo su - postgres

  1. Create :
psql postgres -c "CREATE USER jobhaxdbuser WITH PASSWORD '123456';"
psql postgres -c "CREATE DATABASE jobhaxdb WITH OWNER 'jobhaxdbuser';"
psql postgres -c "ALTER USER jobhaxdbuser CREATEDB;"
  1. Export Envs in ~/.bashrc file: export JOBHAX_CLEARBIT_KEY='' export EMAIL_HOST_USER=[email protected] export EMAIL_HOST_PASSWORD='' export JOBHAX_RECAPTCHA_SECRET='' export reCaptchaV3SiteKey='' export JOBHAX_LINKEDIN_CLIENT_KEY='' export JOBHAX_LINKEDIN_CLIENT_SECRET=''

  2. Refresh env file:

Install frontend

  1. Install yarn
npm i -g yarn
 yarn install
  1. Create config/config.js as in config/example.js:

Install nginx:

Add Certbot PPA sudo apt install -y software-properties-common sudo add-apt-repository universe sudo add-apt-repository ppa:certbot/certbot

Install Certbot sudo apt install -y certbot python-certbot-nginx

Renew: sudo certbot renew --dry-run

Confirm that Certbot worked: https://www.ssllabs.com/ssltest/

Reference: https://certbot.eff.org/lets-encrypt/ubuntuxenial-nginx

Create JobHax application: