Skip to content

Zer0S2m/CreepTenuous

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CreepTenuous

Logo project

Modules

  1. Client - CreepTenuousClient
  2. Tentacles - CreepTenuousTentacle
  3. Implants - CreepTenuousImplants
  4. Desktop - CreepTenuousDesktop

Development

Before starting, create an .env file and edit it (it is advisable to specify the variables that are described in the files: ./docker-compose.dev.yml and ./flyway-config.conf):

cp .env.example .env

Parameter information

Init:

sudo chmod 755 ./init.sh

Build docker:

make build-dev-docker

Run docker:

make dev-docker

Run full system:

sudo make full-dev

Build system:

make build

Run system after build:

make dev
make run

Integration modules

In order to integrate an additional module and open access to it, you must complete the steps that are described in the module documentation

The generated key (in an additional module) you must place in the following directory: ./creep-tenuous-integration/creep-tenuous-integration-implants/src/main/resources/keys.

Or run the following command to transfer the private key:

make move-integration-key-implants

Before starting the system, write the following variable in the .env file:

export CT_IS_INTEGRATION_IMPLANTS=true

Env params

Env param Value Example
CT_REDIS_PORT Indicates the port where the server is listening 6379
CT_REDIS_HOST Is where the server host is located localhost
CT_REDIS_DATABASE Sets the database index used by the connection factory 0
CT_REDIS_TIMEOUT Establishes the connection timeout 60000
CT_POSTGRES_PORT Indicates the port where the server is listening localhost
CT_POSTGRES_HOST Is where the server host is located 5432
CT_POSTGRES_PASSWORD Password for connecting to the specified database my_db_password
CT_POSTGRES_USER Database user my_db_user
CT_POSTGRES_DB Database name my_db
CT_ROOT_PATH Primary location of files for distribution /path
CT_DIRECTORY_AVATARS The main location of uploaded avatars for users.
Default - /var/www/creep-tenuous/avatars
/path
CT_MODE System startup mode. dev or prod dev
CT_SECRET_ACCESS Secret key for creating jwt tokens of type - access secret-key
CT_SECRET_REFRESH Secret key for creating jwt tokens of type - refresh secret-key
CT_IS_INTEGRATION_IMPLANTS The main parameter for connecting module integration is - CreepTenuousImplants true