Arna-Maity / HavocOS-Web

The Havoc OS Website.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HavocOS-Web

The Havoc OS Website.

Setting up the Development Environment

Dependencies (optional):

sudo apt install postgresql-11 pgadmin4 postgresql-server-dev-11 libpq-dev postgresql-client-11

Installing Python package dependencies

pip install -r requirements.txt

Setting up Environment Variables in Linux

  • export variable-name='variable-value

Setting up Environment Variable in Windows

For more info regarding setting up Environment Variables in Windows, go through this link.

NOTE: For the following options, you will be requiring a Docker account and docker should also be installed on your system. For more information on setting up docker on your system, go through this link.

(Alternative-2) Run a Docker Image

Creating a Docker image

sudo docker build ./HavocOS_Web/ -t <your-dockerID>/<name-of-the-image-to-create>

Running the Docker image

sudo docker run -e SECRET_KEY='<your-secret-key>' --network=host <your-dockerID>/<name-of-image-you-created>

(Alternative-3) Run a pre-built Docker Image from DockerHUB

This is the recommended option if anyone just wants to quickly test all the latest features and changes made to the web app without getting their hands dirty with setting up a development environment.

Once you have docker installed on your system, run the following command:

sudo docker run -e SECRET_KEY='<your-secret-key>' --network=host arnamaity/havocos-web

About

The Havoc OS Website.

License:GNU General Public License v3.0


Languages

Language:JavaScript 50.4%Language:CSS 47.0%Language:HTML 1.4%Language:Python 1.1%Language:Dockerfile 0.0%Language:Shell 0.0%