Skip to content

Commit 6078ea6

Browse files
committed
docs/readme-file
1 parent fd1dc64 commit 6078ea6

File tree

7 files changed

+811
-0
lines changed

7 files changed

+811
-0
lines changed

.github/assets/bloggios-header.png

315 KB
Loading

.github/workflows/main.yml

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
#name: auth-provider-application devsandbox
2+
#
3+
#on:
4+
# push:
5+
# branches: [ "main" ]
6+
#
7+
#jobs:
8+
# build:
9+
#
10+
# runs-on: ubuntu-latest
11+
# permissions:
12+
# contents: read
13+
# packages: write
14+
#
15+
# steps:
16+
# - uses: actions/checkout@v3
17+
# - name: Set up JDK 17
18+
# uses: actions/setup-java@v3
19+
# with:
20+
# java-version: '17'
21+
# distribution: 'temurin'
22+
# server-id: github
23+
# settings-path: ${{ github.workspace }}
24+
# - uses: docker/login-action@v1
25+
# with:
26+
# username: ${{ secrets.DOCKER_HUB_USERNAME }}
27+
# password: ${{ secrets.DOCKER_HUB_PASSWORD }}
28+
#
29+
# - name: Build with Maven
30+
# run: mvn clean install
31+
#
32+
# - name: Cleaning Docker File
33+
# uses: appleboy/ssh-action@master
34+
# with:
35+
# host: ${{ secrets.V4_HOST }}
36+
# username: ${{ secrets.V4_USERNAME }}
37+
# password: ${{ secrets.V4_VPS_PRIVATE_KEY }}
38+
# port: 22
39+
# script: |
40+
# cd /root/bloggios-deployment-docker-files
41+
# git stash
42+
# git pull origin main
43+
#
44+
# - name: Cleaning File
45+
# uses: appleboy/ssh-action@master
46+
# with:
47+
# host: ${{ secrets.V4_HOST }}
48+
# username: ${{ secrets.V4_USERNAME }}
49+
# password: ${{ secrets.V4_VPS_PRIVATE_KEY }}
50+
# port: 22
51+
# script: |
52+
# cd /root/microservices/auth-provider-application
53+
# git stash
54+
# git pull origin main
55+
#
56+
# - name: Add Logback File
57+
# uses: appleboy/ssh-action@master
58+
# with:
59+
# host: ${{ secrets.V4_HOST }}
60+
# username: ${{ secrets.V4_USERNAME }}
61+
# key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
62+
# port: 22
63+
# script: |
64+
# rm /root/microservices/auth-provider-application/src/main/resources/auth-logback.xml
65+
# cp /root/secrets/logback/auth-logback.xml /root/microservices/auth-provider-application/src/main/resources
66+
#
67+
# - name: Add Keys
68+
# uses: appleby/ssh-action@master
69+
# with:
70+
# host: ${{ secrets.V4_HOST }}
71+
# username: ${{ secrets.V4_USERNAME }}
72+
# key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
73+
# port: 22
74+
# script: |
75+
# set +e
76+
# rm /root/microservices/auth-provider-application/src/main/resources/security/privkey.pem
77+
# /root/microservices/auth-provider-application/src/main/resources/security/pubkey.pem
78+
# set -e
79+
# cp /root/spring-boot/certificates/privkey.pem /root/microservices/auth-provider-application/src/main/resources/security
80+
# cp /root/spring-boot/certificates/pubkey.pem /root/microservices/auth-provider-application/src/main/resources/security
81+
#
82+
# - name: Stopping Container
83+
# uses: appleboy/ssh-action@master
84+
# with:
85+
# host: ${{ secrets.V4_HOST }}
86+
# username: ${{ secrets.V4_USERNAME }}
87+
# key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
88+
# port: 22
89+
# script: |
90+
# cd /root/bloggios-deployment-docker-files
91+
# set +e
92+
# docker-compose -f docker-compose-devsandbox.yml stop auth-provider-application
93+
# docker-compose -f docker-compose-devsandbox.yml stop auth-provider-social-application
94+
# docker rmi -f auth-provider-application:1.0
95+
# set -e
96+
#
97+
# - name: Generating Docker Image
98+
# uses: appleboy/ssh-action@master
99+
# with:
100+
# host: ${{ secrets.V4_HOST }}
101+
# username: ${{ secrets.V4_USERNAME }}
102+
# key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
103+
# port: 22
104+
# script: |
105+
# cd /root/microservices/auth-provider-application
106+
# chmod +x mvnw
107+
# ./mvnw clean package
108+
#
109+
# - name: Deploy Docker Image
110+
# uses: appleboy/ssh-action@master
111+
# with:
112+
# host: ${{ secrets.V4_HOST }}
113+
# username: ${{ secrets.V4_USERNAME }}
114+
# key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
115+
# port: 22
116+
# script: |
117+
# cd /root/bloggios-deployment-docker-files
118+
# docker-compose -f docker-compose-devsandbox.yml up -d auth-provider-application
119+
# docker-compose -f docker-compose-devsandbox.yml up -d auth-provider-social-application
120+
#
121+
# - name: Cleaning Targets
122+
# uses: appleboy/ssh-action@master
123+
# with:
124+
# host: ${{ secrets.V4_HOST }}
125+
# username: ${{ secrets.V4_USERNAME }}
126+
# key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
127+
# port: 22
128+
# script: |
129+
# cd /root/microservices/auth-provider-application
130+
# rm target -r

CODE_OF_CONDUCT.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# Bloggios Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We, as members, contributors, and leaders of Bloggios, pledge to cultivate a harassment-free environment for all
6+
participants, irrespective of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender
7+
identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race,
8+
religion, or sexual identity and orientation.
9+
10+
We commit to engaging in behaviors that foster an open, welcoming, diverse, inclusive, and healthy community.
11+
12+
## Our Standards
13+
14+
Examples of behavior that foster a positive environment within our Bloggios community include:
15+
16+
- Demonstrating empathy and kindness towards others
17+
- Respecting differing opinions, viewpoints, and experiences
18+
- Giving and graciously accepting constructive feedback
19+
- Taking responsibility for our actions, apologizing to those affected by our mistakes, and learning from these
20+
experiences
21+
- Prioritizing the collective well-being of the community over individual interests
22+
23+
Examples of unacceptable behavior include:
24+
25+
- Use of sexualized language or imagery, and any form of sexual attention or advances
26+
- Trolling, making derogatory comments, or engaging in personal or political attacks
27+
- Harassment, whether public or private
28+
- Sharing others' private information, such as physical or email addresses, without explicit permission
29+
- Any other conduct that could reasonably be considered inappropriate in a professional setting
30+
31+
## Enforcement Responsibilities
32+
33+
Community leaders within Bloggios are responsible for upholding and enforcing our standards of acceptable behavior. They
34+
will take appropriate and impartial corrective action in response to any behavior deemed inappropriate, threatening,
35+
offensive, or harmful.
36+
37+
Community leaders reserve the right to remove, edit, or reject comments, commits, code, wiki edits, issues, and other
38+
contributions that do not align with this Code of Conduct. They will communicate the reasons for moderation decisions
39+
when necessary.
40+
41+
## Scope
42+
43+
This Code of Conduct applies to all interactions within Bloggios community spaces, as well as when individuals
44+
officially represent the community in public settings. Representation may include the use of an official email address,
45+
posting via official social media accounts, or acting as an appointed representative at online or offline events.
46+
47+
## Enforcement
48+
49+
Instances of abusive, harassing, or otherwise unacceptable behavior should be reported to the community leaders
50+
responsible for enforcement at [support@bloggios.com](mailto:support@bloggios.com). All complaints will be promptly
51+
and fairly reviewed and investigated.
52+
53+
Community leaders are obligated to respect the privacy and security of the individual reporting any incident.
54+
55+
## Enforcement Guidelines
56+
57+
Community leaders will adhere to these Enforcement Guidelines in determining consequences for actions violating this
58+
Code of Conduct:
59+
60+
1. **Correction**: Community Impact - Use of inappropriate language or behavior deemed unprofessional or unwelcome.
61+
62+
Consequence - A private, written warning from community leaders, offering clarity on the nature of the violation and
63+
an explanation of its inappropriateness. A public apology may be requested.
64+
65+
2. **Warning**: Community Impact - Violation through a single incident or series of actions.
66+
67+
Consequence - A warning with repercussions for continued behavior. The individual will have no interaction with the
68+
involved parties, including unsolicited communication with those enforcing the Code of Conduct, for a specified
69+
period. This includes abstaining from interactions in community spaces and external channels like social media.
70+
Violation may result in a temporary or permanent ban.
71+
72+
3. **Temporary Ban**: Community Impact - Serious violation of community standards, including sustained inappropriate
73+
behavior.
74+
75+
Consequence - A temporary ban from any interaction or public communication with the community for a specified period.
76+
No public or private interaction with the involved parties is permitted, including unsolicited communication with
77+
those enforcing the Code of Conduct. Violation may lead to a permanent ban.
78+
79+
4. **Permanent Ban**: Community Impact - Demonstrating a pattern of violating community standards, including sustained
80+
inappropriate behavior, harassment of individuals, or aggression towards or disparagement of classes of individuals.
81+
82+
Consequence - A permanent ban from Bloggios community participation.

0 commit comments

Comments
 (0)