ci: remove deprecated submodule code (#20731)
This commit is contained in:
1 parent
d9df9b3d01
commit
d15b24b8ea
6 files changed
+1
-100
No files matched your search
@@ -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>
|
||||
|
||||
@@ -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
|
||||
@@ -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.
|
||||
Reference in new issue
Block a user