There is a newer version of the record available.

Published January 31, 2021 | Version 3.0
Software Open

App for Software Heritage Graph Dataset

Creators

Description

# Environment Setup
 1. Install condat first
 
 wget -c https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh
 
 bash Anaconda3-2019.10-Linux-x86_64.sh
 
 export PATH=~/anaconda3/bin:$PATH
 
 conda init bash
 
 exec bash
 
# GitHubRevisionRelease
Project root: 

1. Create a Python Virtual Environment

conda create --name CondaSoftwareGraphDataset

conda activate CondaSoftwareGraphDataset

conda deactivate

2. Use following commands to activate your virtual environment

            conda env list
            
            conda activate [Your_ENV]

3. Install required packages

            sudo apt install pip
            
            pip install django
            
            sudo apt-get install libpq-dev
            
            sudo pip install psycopg2
            
            sudo -H pip install psycopg2
            
            pip install psycopg2-binary
            
            pip install pydriller
            
            pip install PyGithub
            
            pip install fake-useragent


            

4. Use following commands for data migration and login


            python manage.py makemigrations
            
            python manage.py migrate --fake SEMethodologies
            
            python manage.py migrate --fake MVCStructure 
            
            python manage.py migrate
            
            python manage.py createsuperuser
            
            python manage.py runserver
            
5. Run App
           wget -c http://127.0.0.1:8000/semethodologies

Files

ReadmeV3.txt

Files (11.5 MB)

Name Size Download all
md5:c1176576071c0cbc1be42e6d58b996b3
27 Bytes Preview Download
md5:03795eac2dca56afc5000f0fcada9760
11.5 MB Preview Download