Skip to content
Merged
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
2 changes: 2 additions & 0 deletions .github/workflows/acore-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive

- uses: actions/setup-node@v4
with:
node-version: lts/*
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "apps/git-subrepo"]
path = apps/git-subrepo
url = https://github.com/ingydotnet/git-subrepo
[submodule "apps/bash-lib"]
path = apps/bash-lib
url = https://github.com/azerothcore/bash-lib
17 changes: 0 additions & 17 deletions app.sh

This file was deleted.

1 change: 0 additions & 1 deletion apps/git-subrepo
Submodule git-subrepo deleted from a04d8c
12 changes: 0 additions & 12 deletions apps/git-utils/.gitrepo

This file was deleted.

40 changes: 0 additions & 40 deletions apps/git-utils/subrepo.sh

This file was deleted.

12 changes: 0 additions & 12 deletions apps/git-utils/subtree.sh

This file was deleted.

8 changes: 8 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ About **Nodejs & npm**, you can install it from [here](https://nodejs.org/en/).

## Installation & Usage

### 0. Run the init scripts

Run the `init.sh` script to initialize the project and set up the required configuration files. This script will also clone the necessary submodules.

```bash
./init.sh
```

### 1. Configure your .env file

Create an `.env` file and copy the `.env.docker` content file to `.env`, configuring the variables as you prefer.
Expand Down
9 changes: 9 additions & 0 deletions init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -e

# Ensure submodules are initialized and updated on pull
git config submodule.recurse true

# Initialize and update all submodules (including nested ones)
echo "Initializing and updating submodules..."
git submodule update --init --recursive