Skip to content

Commit

Permalink
v3 - main to cut out
Browse files Browse the repository at this point in the history
  • Loading branch information
cubxxw committed Jun 29, 2023
0 parents commit 6d49903
Show file tree
Hide file tree
Showing 293 changed files with 57,778 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: "\U0001F41E Bug"
about: File a bug/issue
title: "[BUG] <title>"
labels: ''
assignees: ''

---

<!--
Note: Please search to see if an issue already exists for the bug you encountered.
-->

### Environment:
<!-- linux? windows? or Mac?
Example:
- OS: Ubuntu 20.04 -->

### Physical Memory Capacity:
<!-- 8G or above is better -->

### Docker Image:
<!-- Did you pull the docker image before execute docker images -->

### Code Version:
<!-- Did you pull code from github? Make sure the code is up to date-->

### Component installation:
<!-- Has etcd, mysql, mongodb, redis or Kafka been installed on the server before Open-IM-Server deployment-->


### Log File:
<!-- view log file(logs/openIM.log) content. -->


### screenshot:
<!---->
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/deployment-issues.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Deployment issues
about: Deployment issues
title: ''
labels: ''
assignees: ''

---

If you are deploying OpenIM for the first time



```
git clone https://github.com/OpenIMSDK/Open-IM-Server.git --recursive
```

screenshot here

```
cd Open-IM-Server/script ; chmod +x *.sh ; ./env_check.sh
```

screenshot here

```
cd .. ; docker-compose up -d
```

screenshot here

```
cd script ; ./docker_check_service.sh
```

screenshot here
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/update-.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: 'update '
about: update docker image
title: update docker image
labels: ''
assignees: ''

---

```
cd Open-IM-Server ; docker-compose down
```

screenshot here

```
git pull
```

screenshot here

```
docker-compose pull
```

screenshot here

```
chmod +x script/*.sh ; docker-compose up -d
```

screenshot here

```
cd script ; ./docker_check_service.sh
```

screenshot here
71 changes: 71 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '23 2 * * 2'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'go' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
bin
logs
.devcontainer
components
logs
out-test
.github
.idea


deploy/open_im_demo
deploy/open_im_api
deploy/open_im_msg_gateway
deploy/open_im_msg_transfer
deploy/open_im_push
deploy/open_im_timer_task
deploy/open_im_rpc_user
deploy/open_im_rpc_friend
deploy/open_im_rpc_group
deploy/open_im_rpc_msg
deploy/open_im_rpc_auth
deploy/Open-IM-SDK-Core
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

[submodule "cmd/Open-IM-SDK-Core"]
path = cmd/Open-IM-SDK-Core
url = https://github.com/OpenIMSDK/Open-IM-SDK-Core.git
Loading

0 comments on commit 6d49903

Please sign in to comment.