-
Notifications
You must be signed in to change notification settings - Fork 0
License
forza-mor-rotterdam/onderwerpen
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# MoR Onderwerpen Service Levering MeldR onderwerpen en B&C onderwerpen op de MOR-keten ## Tech Stack [Django](https://www.djangoproject.com/start/), [Turbo JS](https://turbo.hotwired.dev/), [SCSS](https://sass-lang.com/) ## Get Started 🚀 To get started, install [Docker](https://www.docker.com/) #### We use the Makefile for commonly used commands ### Start MOR core application https://github.com/forza-mor-rotterdam/mor-core ### Create local dns entry Add '127.0.0.1 onderwerpen.mor.local' to your hosts file ### create docker networks Use the Makefile command: ```bash make create_docker_networks ``` or: ```bash docker network create onderwerpen_network docker network create mor_bridge_network ``` ### Build and run Docker container Use the Makefile command: ```bash make run_and_build ``` or: ```bash docker compose build docker compose up ``` To only run the docker container use: ```bash make run ``` This will start a webserver. Authorize via the Django admin: http://onderwerpen.mor.local:8006/admin/ You can login with the following credentials: - Email: admin@admin.com - Password: insecure You can view the website on http://onderwerpen.mor.local:8006 ### Frontend Use the Makefile command: ```bash make run_frontend ``` or in terminal go to 'app/frontend' and start front-end and watcher by typing ```bash npm install npm run watch ``` ### Code style Pre-commit is used for formatting and linting Make sure pre-commit is installed on your system ```bash brew install pre-commit ``` and run ```bash pre-commit install ``` To manually run the pre-commit formatting run ```bash make format ``` Pre-commit currently runs black, flake8, autoflake, isort and some pre-commit hooks. Also runs prettier for the frontend.
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published