Platform for Mozilla Support
Python JavaScript HTML CSS Other
Latest commit 289a400 Jan 30, 2018 @pmac pmac Fix #2998: Add host enforcement middleware
This will ensure that other domains we point at the
site (e.g. support.mozilla.com) will redirect to the
canonical domain.
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 #2998: Add host enforcement middleware Jan 31, 2018
media Added CORS to images Jun 11, 2013
requirements Fix #2998: Add host enforcement middleware Jan 31, 2018
scripts Remove links and Cron jobs related to Customer Care (Army of Awesome) Jan 18, 2018
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 Update READ_ONLY configuration for AWS. Jan 19, 2018
.env-dist Update READ_ONLY configuration for AWS. Jan 19, 2018
.env-test Update READ_ONLY configuration for AWS. Jan 19, 2018
.eslintrc Fix eslint problems. Dec 15, 2015
.gitignore Fix #3023: Add liveness and readiness URLs Jan 29, 2018
.pre-commit-config.yaml Upgrade to pip8 Nov 20, 2017
.travis.yml Switch docker repo to mozmeao/kitsune. Nov 23, 2017
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