karusic/readme.md

75 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2022-06-19 19:23:24 +02:00
Karideo
=======
**K**angaroo **A**nd **R**abbit (m)usic is a simple framework to propose music streaming for personal network
2024-04-15 00:57:00 +02:00
Run in local:
=============
2022-06-19 19:23:24 +02:00
so simple...
```{.bash}
# start the Bdd interface (no big data > 50Mo)
cd bdd
docker-compose up -d
# start the REST API
cd back
docker-compose up -d
# start the front API
cd ../front
docker-compose up -d
```
2024-04-15 00:57:00 +02:00
convert in an angular application:
https://betterprogramming.pub/how-to-convert-your-angular-application-to-a-native-mobile-app-android-and-ios-c212b38976df
2022-07-15 15:09:08 +02:00
2024-04-15 00:57:00 +02:00
Link with the external sub-library (front)
------------------------------------------
2022-07-15 15:09:08 +02:00
2024-04-15 00:57:00 +02:00
Link:
```bash
cd front
pnpm run link_kar_cw
```
2022-07-15 15:09:08 +02:00
2024-04-15 00:57:00 +02:00
un-link:
```bash
cd front
pnpm run unlink_kar_cw
```
2022-07-15 15:09:08 +02:00
2024-04-15 00:57:00 +02:00
Manual set in production:
=========================
2024-04-15 00:57:00 +02:00
Connect on the registry
------------------------
To log-in and log-out from the registry:
```bash
export REGISTRY_ADDRESS=gitea.atria-soft.org
docker login -u <<YOUR_USER_NAME>> ${REGISTRY_ADDRESS}
docker logout ${REGISTRY_ADDRESS}
```
pull the root image of dockers
------------------------------
```bash
docker pull archlinux:base-devel
docker pull bellsoft/liberica-openjdk-alpine:latest
```
2024-04-15 00:57:00 +02:00
Create the version
------------------
2024-04-15 00:57:00 +02:00
Execute in the local folder: (use ```dev``` for development and ```latest``` for production release)
2024-04-15 00:57:00 +02:00
```bash
export TAG_DOCKER=latest
export REGISTRY_ADDRESS=gitea.atria-soft.org
docker build -t ${REGISTRY_ADDRESS}/kangaroo-and-rabbit/karusic:${TAG_DOCKER} .
docker push ${REGISTRY_ADDRESS}/kangaroo-and-rabbit/karusic:${TAG_DOCKER}
```