Tracim is a collaborative software designed to allow people to share and work on various data and document types.
If you hesitate to install a wiki, a forum or a file management software, stop hesitating and install Tracim.
With Tracim, you manage in the same place:
All data offers:
Join Tracim community : http://tracim.org
Share information with your clients.
In the same place you will be able to share trouble-shooting threads, files and general information. You can define who the information is shared with.
Example: share the documentation with all your users, run a forum open to your clients, another forum for your collaborators and share troubleshooting threads with each of your clients in a private workspace.
Collaborate and share experience and stimulate knowledge growth.
In a unique place, you centralize files and threads, and raw information too. Every collaborator can update the information status. Stop worrying about information loss: the traceability is at the hearth of Tracim.
The newcomers knowledge growth is easy because all information has a status and full history. You get the status of information and know how it got there.
In quality-driven projects like research and development, knowledge and quality are more important that task ownership and deadlines.
With Tracim, you centralize information, you can stay in touch by configuring your email notifications and work on several projects.
Traceability and versionning are very important for high-quality processes. Unfortunately, specialized software are hard to setup and to use.
Let's try Tracim ! You define access-control for each workspace and store documents and file there. Users can't delete information: everything is versionned and never deleted.
The user interface is easy to use: it's based on the well-known folders and files explorer paradigm.
Tracim is licensed under the terms of the GNU Affero General Public License as published by the Free Software Foundation.
Tracim is a web application:
The user interface is based on the following resources and technologies:
It runs on Debian GNU/Linux, it should work out-of-the-box on Ubuntu and also on other GNU/Linux distributions.
Hopefully it works on BSD and Windows OSes (but this has not been tested yet)
The easiest way to test Tracim is to test it through the online demo:
If you want your own dedicated instance but do not want to manage it by yourself, let's contact me at damien.accorsi@free.fr
Following the installation documentation below, you'll be able to run your own instance on your server.
Note: the following information is for Debian. For other OS, adapt the package names.
You'll need to install the following packages:
apt-get install realpath python3 python-virtualenv python3-dev python-pip build-essential postgresql-server-dev-all libxml2-dev libxslt1-dev python-lxml
If you work on a local database, then you also need to install PostgreSQL:
apt-get install postgresql postgresql-client
Get the sources from Bitbucket:
git clone https://github.com/tracim/tracim.git
cd tracim/
Note: Now everything is documented to be executed from the tracim directory newly created.
Reminder : Tracim is developped and tested using python3.4.
Tracim uses virtualenv as deployment environment. This ensure that there will be no conflict between system-wide python installation and Tracim required ones.
SITE_PACKAGES_PATH=`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
virtualenv -p /usr/bin/python3 tg2env
source tg2env/bin/activate
cd tracim && python setup.py develop && cd -
pip install -r install/requirements.txt
./bin/tg2env-patch 1 $SITE_PACKAGES_PATH
pip install -r install/requirements.txt
./bin/tg2env-patch 2 $SITE_PACKAGES_PATH
Notes:
If you already use/know PostgreSQL, you can directly go to Test the database access.
PostgreSQL stores connections ahtorization in pg_hba.conf
Edit the pg_hba.conf file and check that connectionx from 127.0.0.1 are allowed using user/password. You should find the following line in the file:
# IPv4 local connections:
host all all 127.0.0.1/32 md5
Note: on Debian, the pg_hba.conf file is found at /etc/postgresql/9.1/main/pg_hba.conf
If you changed the file, reload PostgreSQL:
service postgresql reload
You need a database and associated user/password.
Tracim comes with a tool that will make this step easy : pgtool.
~/tracim$ ./bin/pgtool help
login as postgres user and run the follwoing commands (which are self explanatory)
./bin/pgtool create_user tracimuser tracimpassword
./bin/pgtool create_database tracimdb
./bin/pgtool grant_all_privileges tracimdb tracimuser
Notes :
So, now you have a database and an associated user/password.
A good habit is to test things before to use them, that's why we want to test the database access now. This is easily done with tracim pgtool :
./bin/pgtool test_connection tracimdb tracimuser tracimpassword 127.0.0.1
The result is similar to the following :
PG # CONNECT TO DATABASE
------------------------
server: 127.0.0.1
database: tracimdb
username: bibi
now
-------------------------------
2014-11-10 09:40:23.306199+01
(1 row)
In case of failure, you would get something like this:
PG # CONNECT TO DATABASE
------------------------
server: 127.0.0.1
database: tracimdb
username: bibi
psql: FATAL: password authentication failed for user "bibi"
FATAL: password authentication failed for user "bibi"
ERRROR
In this case, delete the user and database you previously created (using pgtool) and do it again. Do not forget to run the grant_all_rights command!
At this point, you have :
What you have to do now is to configure the application and to initialize the database content.
cp tracim/development.ini.base tracim/development.ini
You can now edit the file and setup required files. Here are the main ones:
Configure database in the development.ini file. This is defined as sqlalchemy.url and the default value is below:
sqlalchemy.url = postgresql://tracimuser:tracimpassword@127.0.0.1:5432/tracimdb?client_encoding=utf8
Default configuration is to listen on port 8080. If you want to adapt this to your environment, edit the .ini file and setup the port you want:
port = 8080
The default language is English. You can change it to French by uncommenting the following line in the .ini file:
lang = fr
for some reason, you have to configure SMTP parameters for rest password process and SMTP parameters for notifications in separate places.
The reset password related parameters are the follwoing ones :
resetpassword.email_sender = tracim@mycompany.com
resetpassword.smtp_host = smtp.mycompany.com
resetpassword.smtp_port = 25
resetpassword.smtp_login = username
resetpassword.smtp_passwd = password
The main parameters for notifications are the following ones:
email.notification.activated = true
email.notification.from = Tracim Notification <tracim@tmycompany.com>
email.notification.smtp.server = smtp.mycompany.com
email.notification.smtp.port = 25
email.notification.smtp.user = username
email.notification.smtp.password = password
You must define general parameters like the base_url and the website title which are required for home page and email notification links
website.title = My Company Intranet
website.base_url = http://intranet.mycompany.com:8080
To use LDAP authentication, set auth_type
parameter to "ldap":
auth_type = ldap
Then add LDAP parameters
# LDAP server address
ldap_url = ldap://localhost:389
# Base dn to make queries
ldap_base_dn = dc=directory,dc=fsf,dc=org
# Bind dn to identify the search
ldap_bind_dn = cn=admin,dc=directory,dc=fsf,dc=org
# The bind password
ldap_bind_pass = toor
# Attribute name of user record who contain user login (email)
ldap_ldap_naming_attribute = uid
# Matching between ldap attribute and ldap user field (ldap_attr1=user_field1,ldap_attr2=user_field2,...)
ldap_user_attributes = mail=email
# TLS usage to communicate with your LDAP server
ldap_tls = False
# If True, LDAP own tracim group managment (not available for now!)
ldap_group_enabled = False
You may need an administrator account to manage Tracim. Use the following command (from /install/dir/of/tracim/tracim
):
gearbox user create -l admin-email@domain.com -g managers -g administrators
Keep in mind admin-email@domain.com
must match with LDAP user.
There are other parameters which may be of some interest for you. For example, you can:
The last step before to run the application is to initialize the database schema. This is done through the following command:
source tg2env/bin/activate
cd tracim && gearbox setup-app && cd -
Now you can run the standalone server:
./bin/run.sh
Which should result in something like this:
13:53:49,982 INFO [gearbox] Starting subprocess with file monitor
13:53:50,646 WARNI [py.warnings] /tmp/tracim/protov1/tg2env/lib/python3.2/site-packages/tw2/core/validation.py:12: ImportWarning: Not importing directory '/tmp/tracim/protov1/tg2env/lib/python3.2/site-packages/tw2/core/i18n': missing __init__.py
from .i18n import _
13:53:50,862 INFO [gearbox] Starting server in PID 11174.
Starting HTTP server on http://0.0.0.0:8080
You can now enter the application at http://localhost:8080 and login:
Enjoy :)
Install dependencies:
apt-get install apache2 libapache2-mod-wsgi-py3
Example of Apache WSGI configuration. This configuration refers to productionapp.wsgi which is a copy of the file app.wsgi available in the repo. (this file has to be updated to match with your environment and installation)
<VirtualHost *:80>
ServerAdmin webmaster@tracim.mycompany.com
ServerName tracim.mycompany.com
WSGIProcessGroup tracim
WSGIDaemonProcess tracim user=www-data group=adm threads=4 python-path=/opt/traciminstall/tg2env/lib/python3.2/site-packages
WSGIScriptAlias / /opt/traciminstall/tracim/productionapp.wsgi
#Serve static files directly without TurboGears
Alias /assets /opt/traciminstall/tracim/tracim/public/assets
Alias /favicon.ico /opt/traciminstall/tracim/tracim/public/favicon.ico
CustomLog /var/log/apache2/demotracim-access.log combined
ErrorLog /var/log/apache2/demotracim-error.log
LogLevel debug
</VirtualHost>
Building the community is a work in progress.
Need help ? Do not hesitate to contact me : damien.accorsi@free.fr