/traq

Primary LanguageJavaScript

Build Status

Install

Make sure you are on the correct branch

Full Install and Setup

If you want to install requirements, create a local db and load some dummy data, and run tests all at once just run:

make init

Requirements

Create a virtual environment, and install the required packages in it:

virtualenv --no-site-packages -p python3 .env
source .env/bin/activate
make install

Settings

Create a settings file from the template, and fill in the blanks:

cp traq/demo_settings.py traq/local_settings.py
vim traq/local_settings.py

Databases

To update/recreate the database

make recreate-db

Dummy Data

To load some dummy projects and tickets

make load-dev-data

Media

Create the media upload dir (for user files)

mkdir htdocs/media
# make the dir world writeable
# or make apache the owner of the dir
chown apache htdocs/media || chmod 1777 htdocs/media

Run

Run the server

make

Test

To test the site, use either

make test

Or

make coverage