Platform for Mozilla Support
Python JavaScript HTML CSS Other
Latest commit df18329 Dec 8, 2017 @glogiotatidis glogiotatidis Merge pull request #2994 from pmac/use-path-instead-of-entrypoint
Use PATH instead of ENTRYPOINT for virtualenv activation
Permalink
Failed to load latest commit information.
.circleci Create base-dev docker image with npm installed. Add dev instructions. Dec 4, 2017
authority [Bug 1238055][Bug 1225606] Upgrade Django to 1.8. Feb 25, 2016
bin Fix gunicorn path. Nov 30, 2017
configs Remove Vagrant. Nov 20, 2017
docker Merge pull request #2994 from pmac/use-path-instead-of-entrypoint Dec 8, 2017
docs Remove Vagrant. Nov 20, 2017
jsi18n Collect jsi18n files via staticfiles to get hashed filenames. Feb 24, 2016
kitsune Fix Bug 1416886 - Update Download Firefox Icon Dec 6, 2017
media Added CORS to images Jun 11, 2013
requirements Upgrade product-details and move to database. Fixes #2957. Dec 4, 2017
scripts Move from crontabs to APScheduler. Fixes #2946. Nov 29, 2017
static Simplfy static CORS rules. Jan 5, 2016
tests Move WebQA Jenkinsfile under tests dir. Nov 23, 2017
wsgi Hack around no longer getting x-forwarded-proto headers Nov 30, 2017
.dockerignore Split dockerfiles. Nov 30, 2017
.editorconfig Add circleci. Dec 1, 2017
.env-build Split dockerfiles. Nov 30, 2017
.env-dist Create base-dev docker image with npm installed. Add dev instructions. Dec 4, 2017
.env-test Docker compose for dev and testing. Nov 30, 2017
.eslintrc Fix eslint problems. Dec 15, 2015
.gitignore Add Travis .env Nov 21, 2017
.pre-commit-config.yaml Upgrade to pip8 Nov 20, 2017
.travis.yml Switch docker repo to mozmeao/kitsune. Nov 23, 2017
CONTRIBUTING.md Remove whitespace. Nov 14, 2016
CONTRIBUTORS.rst Replace manually curated list of contributors with link to generated … May 21, 2015
Jenkinsfile Add Jenkins Pipeline for docker image building and testing. Nov 23, 2017
LICENSE Fix a thing Ricky found that I missed when I fixed the other issue Apr 5, 2013
Procfile Create base-dev docker image with npm installed. Add dev instructions. Dec 4, 2017
README.md Create base-dev docker image with npm installed. Add dev instructions. Dec 4, 2017
bower.json Fix Bug 1380708 implement static tabzilla Jul 31, 2017
contribute.json Update and serve contribute.json (#2905) Aug 3, 2017
docker-compose.yml Create base-dev docker image with npm installed. Add dev instructions. Dec 4, 2017
gulpfile.js Fix a lot of lint errors. Jul 29, 2015
jenkins.yml Switch docker repo to mozmeao/kitsune. Nov 23, 2017
manage.py Update docker. Nov 20, 2017
package.json Update docker. Nov 20, 2017
setup.cfg Run tests on travis. Nov 20, 2017
tox.ini Add Jenkinsfile pipeline Nov 15, 2016

README.md

Kitsune

Kitsune is the platform that powers SuMo (support.mozilla.org)

It is a Django application. There is documentation online.

The legacy branch contains the codebase and deployment scripts for use in the SCL3 datacenter. Only security fixes and changes to support product launches are allowed to go in.

The master branch is where the active development of Kitsune happens to modernize, containerize and bring to Kubernetes. Feature Pull Requests are not allowed in unless related with the current effort to move to Kubernetes.

You can access the staging site at https://support.allizom.org/

See what's deployed

Development

To setup a local Kitsune development environment:

#. Download base Kitsune docker images:

docker pull mozmeao/kitsune:base-latest
docker pull mozmeao/kitsune:base-dev-latest

#. Build Kitsune docker images. (Optional. Needed when updating python packages)

docker-compose -f docker-compose.yml -f docker/composefiles/build.yml build base
docker-compose -f docker-compose.yml -f docker/composefiles/build.yml build dev

#. Create your database

docker-compose -f docker-compose.yml -f docker/composefiles/dev.yml run web ./manage.py migrate

#. Install node and bower packages

docker-compose -f docker-compose.yml -f docker/composefiles/dev.yml run web npm install
docker-compose -f docker-compose.yml -f docker/composefiles/dev.yml run web ./node_modules/.bin/bower install --allow-root

To run Kitsune:

#. docker-compose -f docker-compose.yml -f docker/composefiles/dev.yml up web