This is an open-source tool for creating a database of sources.
The following instructions are intended for a developer to set this up locally
Make sure you have docker and docker-compose installed
Clone the repo (or your fork)
git clone [email protected]:industrydive/sourcedive.git
Run the following
cp settings_private.dev.py settings_private.py
Update all the UPDATE
vars as needed.
docker-compose build
docker-compose up
docker exec sourcedive_app_1 python manage.py migrate
docker exec -it sourcedive_app_1 sh
python manage.py createsuperuser # follow the command prompts
Go to http://127.0.0.1:8080/admin/login/?next=/admin/
Select 'Enter credentials' and use your superuser from the previous step
Generate ssh key
ssh-keygen -t rsa -b 4096 -C "youremail"
In the virtualenv:
-
git checkout master
-
git pull origin master
-
pip3 install -r requirements.txt
-
python3 manage.py migrate
-
sudo systemctl restart uwsgi