Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

CVDB

CircleCI Travis CI codecov

CV database for storing and displaying CVs and resumes. There are many like it, but this one is mine.

Sources at GitHub. Running instance at cvdb.fi.

Using

Deploy

Install Ansible

Get sources:

git clone https://github.com/jarnoln/cvdb.git

Add your host to ansible/inventory. Then:

ansible-playbook -i ansible/inventory ansible/provision-deb.yaml

fab -f fabfile.py deploy:host=user@host

Set up development environment

Get sources:

git clone https://github.com/jarnoln/cvdb.git

Create virtual environment and install Python packages:

mkvirtualenv -p /usr/bin/python3 cvdb
pip install -r requirements.txt

Generate password:

python cvdb/generate_passwords.py cvdb/passwords.py

Initialize DB:

./manage.py migrate
./manage.py makemigrations viewcv
./manage.py migrate viewcv

Run tests:

./manage.py test

If tests pass, you should be good to go.

Run development server:

./manage.py runserver

Now should be able to see CVDB in your browser at http://127.0.0.1:8000/

Note: When trying to sign up on local server, sending confirmation email fails unless a mail server is installed. Installing for example Postfix should fix this:

sudo apt install postfix
You can’t perform that action at this time.