Skip to content
Harsh Daftary edited this page Aug 21, 2016 · 3 revisions

Deployment of this project is very simple and straight forward.

  • One click installation of all the dependency and code :
    curl https://raw.githubusercontent.com/ninjatrench/DeveloperHorizon/master/setup.sh | bash

  • Manual installation : python 3+

    • Install git and pip for python3
      apt-get install git python3-pip -y

    • Install required python libraries
      pip3 install requests
      pip3 install Flask
      pip3 install multiprocessing
      pip3 install PyYaml
      pip3 install PyGithub
      pip3 install icalendar
      pip3 install feedparser

    • Install SQLachemy
      For debian/ubuntu based system use apt-get instead of pip
      apt-get install python3-sqlalchemy
      For other *nix and Windows OS
      pip3 install SQLAlchemy

    • Code supports asynchronous IO support to handle parallel requests (optional)
      pip3 install aiohttp

    • Get the code from git
      git clone https://github.com/ninjatrench/DeveloperHorizon

  • Configuration :

    • Adjust the configurations at config/config.cfg including host, port and github access token etc
      nano config/config.cfg
    • Replace http://localhost:5000/ with http://:/ as mentioned in config file in static
      nano static/js/dashboard.min.js
    • Specify default_config_file location for python code
      nano controller/conf.py
  • Run the code :
    python3 main.py

Clone this wiki locally