Threads, files and pages with status and full history. All in the same place.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Delete basic_issue.md Aug 6, 2018
backend fix missing parameter for ldap [#657] Dec 13, 2018
frontend [#1256] fixed btn folder extended action display Dec 11, 2018
frontend_app_admin_workspace_user [#1085] fixed lang initialization in frontend_lib::addResourceI18n Dec 11, 2018
frontend_app_file [#1260] PopinFixedHeader now expects a rawTitle and a componentTitle … Dec 12, 2018
frontend_app_folder_advanced [#1260] PopinFixedHeader now expects a rawTitle and a componentTitle … Dec 12, 2018
frontend_app_html-document [#1260] PopinFixedHeader now expects a rawTitle and a componentTitle … Dec 12, 2018
frontend_app_thread [#1260] PopinFixedHeader now expects a rawTitle and a componentTitle … Dec 12, 2018
frontend_app_workspace [#1085] fixed lang initialization in frontend_lib::addResourceI18n Dec 11, 2018
frontend_app_workspace_advanced [#1260] PopinFixedHeader now expects a rawTitle and a componentTitle … Dec 12, 2018
frontend_lib popup create content validate btn now look like a highlight button Dec 12, 2018
functionnal_tests fix cypress test about refactor in [#1257] Dec 11, 2018
tools_docker same config file for webdav + few tests Dec 6, 2018
.coveragerc Create .coveragerc Aug 27, 2018
.gitignore upgraded webpack to v4 with fixes for the entry points of frontend_lib Dec 5, 2018
.travis.yml merge and update developement.ini.sample file Dec 7, 2018
CONTRIBUTING.md Create CONTRIBUTING.md Nov 15, 2018
DCO add Developer Certificate of Origin Nov 15, 2018
LICENSE better date for copyright Nov 15, 2018
README.md fix alert message about database used by cypress Dec 7, 2018
README_traduction.md Update README_traduction.md Jul 31, 2018
build_full_frontend.sh added archive/delete to folder advanced + fixed build script + bugfix Nov 23, 2018
color.json.sample added archive/delete to folder advanced + fixed build script + bugfix Nov 23, 2018
i18next.option.js added handling of folden with new endpoints Nov 13, 2018
install_frontend_dependencies.sh added archive/delete to folder advanced + fixed build script + bugfix Nov 23, 2018
setup_default_backend.sh merge ldap auth fonctionality and webdav fixe together Dec 7, 2018
setup_functionnal_tests.sh fixed cypress install Nov 29, 2018

README.md

develop branch status: Build Status Coverage Status Scrutinizer Code Quality

Use tracim with docker

You can find docker documentation here.

Install Tracim on your server

Following the installation documentation below, you'll be able to run your own instance on your server.


Installation

Get the source

Get the sources from GitHub (you need git):

git clone https://github.com/tracim/tracim.git
cd tracim/

Install backend

Option 1: Install backend manually

see Backend README

Option2: Install backend: Automated script for easy setup

This script run backend with simple default conf: development.ini conf file, use default config file, sqlite database, etc...

./setup_default_backend.sh

This script use command with sudo, make sure you have installed and configured sudo. You can run also with root if you add root in parameter of this script.

For each conf file missing, this script will generated them from default conf. If sqlite default database is missing, script will generate it. This script is also able to serve for update. If you want to update a script generated tracim install, you can just update source code with git pull and rerun the same script to update database model, system deps and python deps.

for more information about configuring tracim_backend, see Backend README for more information about configuration file, see development.ini.sample documentation and Backend setting file doc.

Install frontend: Automated Script for easy setup

./install_frontend_dependencies.sh
./build_full_frontend.sh

This script use command with sudo, make sure you have installed and configured sudo. You can run also with root if you add root in parameter of this script.

You can add "-d" to build_full_frontend.sh to disabled obfuscation and reduce build time.

Running Tracim using pserve

cd backend/
source env/bin/activate
pserve development.ini

You can now enter the application at http://127.0.0.1:6543 and login with admin user:

  • user: admin@admin.admin
  • password: admin@admin.admin

Running tests with cypress


Installation of cypress: Automated script for easy setup

This script check if nodejs is installed (npm is necessary to install Cypress), if file package.json and cypress.json exist in 'functionnal_tests' folder. if not the script install necessary file and install Cypress and his dependency's.

./setup_functionnal_tests.sh

This script use command with sudo, make sure you have installed and configured sudo. You can run also with root if you add root in parameter of this script.

If you need to run cypress with external server of tracim, modify "baseurl" in cypress.json (look here for more detail: https://docs.cypress.io/guides/references/configuration.html#Options ).

Run tests with command line

Warning: cypress use the database that you have configure in development.ini and erase data in this database. Make a backup of your databse before starting test.

This command run all test present in 'cypress_test' folder.

cd functionnal_tests/
npm run cypress-run

Run tests with cypressgui

Warning: cypress use the database that you have configure in development.ini and erase data in this database. Make a backup of your databse before starting test.

Open Cypress with graphical interface. You can show test running directly in web interface.

cd functionnal_tests/
npm run cypress-open

Contribute

in order to contribute to tracim source_code, please read CONTRIBUTING.md file