Skip to content

ci: remove deprecated submodule code #20731

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .github/workflows/submodule-sync.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .husky/post-receive

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ To test API in your local instance, you have the following pre-requisites:
1a1f8138-0bfc-4f37-b4af-1e24fd145839
```
</Step>
<Step title="Install API submodule">
Next, you need to install API submodule by following the instructions provided in [API submodule](/developing/local-development#api)
</Step>
<Step title="Start development server and create API key">
Start the cal.com server using `yarn dev` on localhost and create the test API keys by visiting `/settings/developer/api-keys`
</Step>
Expand Down
20 changes: 1 addition & 19 deletions docs/self-hosting/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ Note: `docker compose` without the hyphen is now the primary method of using doc
cd calcom-docker
```

3. Update the calcom submodule

```
git submodule update --remote --init
```

4. Rename `.env.example` to `.env` and then update `.env`

5. Build and start Cal.com via docker compose
Expand Down Expand Up @@ -67,20 +61,8 @@ These variables must be provided at the time of the docker build, and can be pro

* NEXTAUTH_SECRET

### Git Submodules

This repository uses a git submodule.

To update the calcom submodule, use the following command:

```
git submodule update --remote --init
```

For more advanced usage, please refer to the git documentation: [https://git-scm.com/book/en/v2/Git-Tools-Submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules)

### Troubleshooting

* SSL edge termination: If running behind a load balancer which handles SSL certificates, you will need to add the environmental variable `NODE_TLS_REJECT_UNAUTHORIZED=0` to prevent requests from being rejected. Only do this if you know what you are doing and trust the services/load-balancers directing traffic to your service.

* Failed to commit changes: Invalid 'prisma.user.create()': Certain versions may have trouble creating a user if the field `metadata` is empty. Using an empty json object `{}` as the field value should resolve this issue. Also, the `id` field will autoincrement, so you may also try leaving the value of `id` as empty.
* Failed to commit changes: Invalid 'prisma.user.create()': Certain versions may have trouble creating a user if the field `metadata` is empty. Using an empty json object `{}` as the field value should resolve this issue. Also, the `id` field will autoincrement, so you may also try leaving the value of `id` as empty.
8 changes: 0 additions & 8 deletions git-init.sh

This file was deleted.

43 changes: 0 additions & 43 deletions git-setup.sh

This file was deleted.

Loading