MetaCI can be setup using either docker virtual containers or on your local machine.
To set up MetaCI using docker please see the following instructions ./docs/running_docker.rst.
As mentioned above, MetaCI can be configured locally. To achieve this follow the instructions provided in ./docs/running.rst.
Docker runs the server automatically. If you are not using Docker for development, you can run it like this:
make start
: starts development server (with watcher) at http://localhost:5000/
To run these tests with docker first run the following commands,
docker-compose up -d docker-compose exec web bash
If you are not using docker or are using the VS Code integrated terminal inside the Docker container simply execute the commands in your project's root directory:
pytest
: run Python tests
In commit messages or pull request titles, we use the following emojis to label which development commands need to be run before serving locally (these are automatically prepended to commit messages):
- 📦 (
:package:
) ->pip install -r requirements/local.txt
- 🛢 (
:oil_drum:
) ->python manage.py migrate
To build and compile .mo
and .po
files for the backend, run:
$ python manage.py makemessages --locale <locale> $ python manage.py compilemessages
These commands require the GNU gettext toolset (brew install gettext
).
MetaCI uses the Salesforce Lightning Design System.
You can find a CSS and component reference here: https://www.lightningdesignsystem.com/