Skip to content

Instantly share code, notes, and snippets.

@naiieandrade
Last active May 16, 2018 01:11
Show Gist options
  • Save naiieandrade/a296a0f0cb77686132054e5fe57c075a to your computer and use it in GitHub Desktop.
Save naiieandrade/a296a0f0cb77686132054e5fe57c075a to your computer and use it in GitHub Desktop.
kiskadee_enviroment

Kiskadee

  • Fazer o clone do kiskadee
  • Criar ambiente virtual, vai criar uma pasta (Não fazer dentro da pasta kiskadee)

python3 -m venv myenv

  • Estrutura de pastas

|_ kiskadee
|_ myenv

  • Ativar o ambiente virtual com  source myenv/bin/activate

  • Na pasta kiskadee

pip install -r requirements.txt

make analyzers

  • Configurar Postgres

como su - postgres realizar os comandos:

$ createdb kiskadee
$ createdb kiskadee_test
$ createuser kiskadee -P
$ # here, we use kiskadee as password.
$ psql -U postgres -c "grant all privileges on database kiskadee to kiskadee"
$ psql -U postgres -c "grant all privileges on database kiskadee_test to kiskadee"
# go back to your user (ctrl+d)
$ echo "localhost:5432:kiskadee:kiskadee:kiskadee" > ~/.pgpass
$ chmod 600 ~/.pgpass
  • Restart postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment