Skip to content

Commit

Permalink
Merge pull request #46 from anst-i/patch-2
Browse files Browse the repository at this point in the history
Update localsetup.md
  • Loading branch information
EJMFarrow authored May 27, 2024
2 parents c2c2f01 + 4ed8fb5 commit a815aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/localsetup.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You need to download the gitsync scripts and set it up locally as described belo
4) Restart the web server e.g. `systemctl restart apache2`.

## Setup
- Open a terminal and clone this repository `git clone https://github.com/maths/moodle-qbank_gitsync.git gitsync`. The repository will be downloaded in a folder `gitsync` inside your current folder.
- Open a terminal and clone this repository `git clone https://github.com/maths/moodle-qbank_gitsync.git gitsync`. The repository will be downloaded in a folder `gitsync` inside your current folder. If you have a local development environment for Moodle with the gitsync plugin installed, it is recommended to create a new copy of gitsync somewhere else to not confuse the server and the client side.
- The repository will default to the `main` branch but you may need to switch to another branch if you're testing new features (e.g. `dev` for initial beta testing). In the gitsync directory e.g. `git checkout dev`.
- In the `cli` folder within `gitsync`, make a copy of `config_sample.txt` and name it `config.php` within the `cli` folder.
- Update `config.php` with the URLs and names of your Moodle instances.
Expand Down

0 comments on commit a815aff

Please sign in to comment.