Please visit OpenSourceJobPortal for the latest documentation with unlimited free job posting, Social Api's authentication.
Opensource Job Portal developed using python, django framework with unlimited free job posting and Social Api's authentication.
Recruiter can register using email or google login to post job.
pipdeptree # to see pip dependancy tree
black # to format code to meet python coding standards
pip-check -H # to see upgradable packages
Following are the setup instruction for ubuntu 20.04.
sudo apt install git postgresql python3 python3-dev python3-virtualenv build-essential ruby ruby-dev gem redis-server memcached redis-tools -y
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install node-less
sudo gem install sass
You need to create symbolic link if you get error locating lessc
here my lessc file locatin is /usr/bin/lessc
you can find yours with this command which lessc
sudo ln -s /usr/bin/lessc /usr/local/bin/lessc
pip install virtualenvwrapper add the following to your path
export PATH="$PATH:/home/ubuntu/.local/bin"
source /home/ubuntu/.local/bin/virtualenvwrapper.sh
pip install -r requirements.txt
For env variables, refer to env.md in source directory and you need to create a .env file to keep all env variables with their respective values.
sudo -u postgres psql
ALTER USER postgres PASSWORD 'myPassword';
create database peeljobs sudo -u postgres -i psql peeljobs < init_db/db_init.sql
to add user to docker group
sudo usermod -aG docker $USER
restart to apply changes.
docker run -d --name elasticsearch -p 127.0.0.1:9200:9200 -p 127.0.0.1:9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.17.6
Finally update_index
command will freshen all of the content in your index. It iterates through all indexed models and updates the records in the index.
python manage.py update_index
Load data to cities, companies and etc using json files in "peeldb/fixtures" folder. please check below command for reference.
python manage.py loaddata cities