Skip to content

Zitrax/Artifakt

Repository files navigation

Artifakt

Artifact / File server - makes it easy to track customer deliveries or just a place to dump important files.

Features

  • Files can be stored on the server either as single files or in bundles.
  • The same file is not stored twice, content is tracked by their sha1 sums.
  • Archive file list can be viewed.
  • Text/code files can be viewed with syntax highlighting.
  • Each file or bundle can be marked as delivered to a specific customer.
  • Each file or bundle has threaded comments.
  • The version control system origin of each file can be stored.
  • Search functionality.

Getting Started

  • python setup.py develop ( Recommended to use virtualenv )

SQLite:

  • Verify that sqlalchemy.url in development.ini looks something like: sqlite:///%(here)s/artifakt.sqlite

MySQL:

  • Enable mysqlclient in setup.py before running it.

  • Create a new database named 'artifaktdb' in mysql

  • Use the following command: CREATE DATABASE artifaktdb CHARACTER SET utf8;

  • initialize_artifakt_db development.ini

  • pserve development.ini

Settings

Some important settings to look at before running Artifakt.

artifakt/artifakt.yaml

  • There are some hardcoded security strings in artifakt/artifakt.yaml. You should update them in a production setup.

production.ini / development.ini

  • artifakt.storage: This points to the directory where all artifacts are stored.
  • hosts: The address of the server.
  • port: The port of the server.

Settings needed for sending mails

  • mail.host: The smtp host name
  • mail.port: The smtp port
  • mail.queue_path: Path to a directory where queued emails are stored
  • mail.default_sender: Sender address of emails from the system

To actually send the mails qp must be run periodically.

Scripted usage

It's possible to upload files to the server using HTTP POST from the command line or from another service. To make this easier there is a python script available for doing that at artifakt/utils/artifakt_upload.py.

Info

Build Status Coverage Status

About

Artifact / File server - makes it easy to track customer deliveries or just a place to dump important files along with threaded comments.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published