Skylsmoi 6cb697acc6 [https://github.com/tracim/tracim/issues/801] btn to create content or workspace is now disabled if name is empty 5 gadus atpakaļ
backend Merge pull request #26 from tracim/feature/750_do_notify_in_roles_endpoints 5 gadus atpakaļ
frontend [https://github.com/tracim/tracim/issues/816] fixed url for btn create content in dashboard + removed comment from content type list in create content dropdown 5 gadus atpakaļ
frontend_app_admin_workspace_user [https://github.com/tracim/tracim/issues/779] added integrated version of admin user 5 gadus atpakaļ
frontend_app_html-document https://github.com/tracim/tracim/issues/748, Translation of : adminWorkspacePage, HomePage, app Html, Timeline, and some components 5 gadus atpakaļ
frontend_app_thread [https://github.com/tracim/tracim/issues/641] apps htmldoc and thread now mark content as read upon loading data 5 gadus atpakaļ
frontend_app_workspace [https://github.com/tracim/tracim/issues/815] fixed workspace icon 5 gadus atpakaļ
frontend_lib [https://github.com/tracim/tracim/issues/801] btn to create content or workspace is now disabled if name is empty 5 gadus atpakaļ
functionnal_tests fix for cypress script 5 gadus atpakaļ
.gitignore Merge branch 'develop' into feature/638_refactor_applications+support_for_color.json 5 gadus atpakaļ
.travis.yml travis: separate install requires from testing requires 5 gadus atpakaļ
README.md fix for cypress 5 gadus atpakaļ
README_traduction.md Update README_traduction.md 5 gadus atpakaļ
backend_lib.sh autogenerate color.json file in backend setup script 5 gadus atpakaļ
bash_library.sh fix for script install cypress 5 gadus atpakaļ
build_full_frontend.sh remove git pull from script 5 gadus atpakaļ
color.json.sample color without spectra dep 5 gadus atpakaļ
i18next.option.js [https://github.com/tracim/tracim/issues/637] added translation mecanism on all frontend folder 5 gadus atpakaļ
install_cypress.sh fix script with dep cypress 5 gadus atpakaļ
install_frontend_dependencies.sh [https://github.com/tracim/tracim/issues/825] added config js file for environment (eg. apiUrl) 5 gadus atpakaļ
setup_default_backend.sh update backend setup script 5 gadus atpakaļ

README.md

develop branch status: Build Status Coverage Status Scrutinizer Code Quality

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_v2.git
cd tracim_v2/

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

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

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.

./install_cypress.sh

Run tests with command line

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

cd functionnal_tests/
./node_modules/.bin/cypress run

Run tests with cypressgui

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

cd functionnal_tests/
./node_modules/.bin/cypress open