Holis is a communication tool for that offers a single access point for remote teams, Holis will be offer:
- Voice Communication (Done).
- Chat Communication (Done).
- Project management (WIP).
- Video Calls (Pending).
- Bots creation (Pending).
- Install pre-commit.
Precommit checks the project when a commit is generated.
-
pip install pre-commit --user
-
pre-commit install
- Create tenant hosts 😱
Holis is a multitenant application, we use the subdomain as tenant id, so, we need create local subdomains for work propertly.
Edit your host file and create and add this at the end
127.0.0.1 adslab.holis.local
127.0.0.1 firesoft.holis.local
127.0.0.1 holis.local
this allows you to use this endpoints:
- Uploading the backend ⚙️
Upload containers in one single command
make up
This command will open a bash shell inside the backend environment, here you can execute different command like:
dev up
: is equivalent topython manage.py runserver 0.0.0.0:8000
dev makemig
: crate migrations, is equivalent to `python manage.py makemigrations``dev migrate
: execute migrations, is equivalent topython manage.py migrate
dev sqlmig
: show sql of the migrationdev makemessages
: crete locations files.dev compilemessages
: compile locations
- Running the front app. 🏙
cd webapp
yarn
yarn serve
- Use the default users to enter to the app.
username: viktor@hol.is password: holis123.
username: julls@hol.is password: holis123.
- (Optional) Create your user 👨🏻💻
Running tests with py.test
- Happy coding! 👨🏻💻👩🏻💻
In development, it is often nice to be able to see emails that are being sent from your application. For that reason local SMTP server MailHog
_ with a web interface is available as docker container.
Container mailhog will start automatically when you will run all docker containers.
Please check cookiecutter-django Docker documentation
_ for more details how to start all containers.
With MailHog running, to view messages that are sent by your application, open your browser and go to http://127.0.0.1:8025
.. _mailhog: https://github.com/mailhog/MailHog
We use sentry to production enviroment exeception tracking
The following details how to deploy this application.
We count with CI in production, so, you just need to push to master and the deploy process begin.