Tracim e0f18fb7bc Create .coveragerc | 6 yıl önce | |
---|---|---|
backend | 6 yıl önce | |
frontend | 6 yıl önce | |
frontend_app_admin_workspace_user | 6 yıl önce | |
frontend_app_html-document | 6 yıl önce | |
frontend_app_thread | 6 yıl önce | |
frontend_app_workspace | 6 yıl önce | |
frontend_lib | 6 yıl önce | |
functionnal_tests | 6 yıl önce | |
.coveragerc | 6 yıl önce | |
.gitignore | 6 yıl önce | |
.travis.yml | 6 yıl önce | |
README.md | 6 yıl önce | |
README_traduction.md | 6 yıl önce | |
backend_lib.sh | 6 yıl önce | |
bash_library.sh | 6 yıl önce | |
build_full_frontend.sh | 6 yıl önce | |
color.json.sample | 6 yıl önce | |
i18next.option.js | 6 yıl önce | |
install_cypress.sh | 6 yıl önce | |
install_frontend_dependencies.sh | 6 yıl önce | |
setup_default_backend.sh | 6 yıl önce |
Following the installation documentation below, you'll be able to run your own instance on your server.
Get the sources from GitHub (you need git):
git clone https://github.com/tracim/tracim_v2.git
cd tracim_v2/
see Backend README
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_dependencies.sh
./build_full_frontend.sh
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:
admin@admin.admin
admin@admin.admin
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
This command run all test present in 'cypress_test' folder.
cd functionnal_tests/
./node_modules/.bin/cypress run
Open Cypress with graphical interface. You can show test running directly in web interface.
cd functionnal_tests/
./node_modules/.bin/cypress open