Skip to content

Commit fb5fbbe

Browse files
committed
Fixed Code tags
1 parent cbf49db commit fb5fbbe

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

pages/docs/contribution-handbook/development-environment.mdx

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,67 +24,68 @@ git clone [email protected]:FOSSBilling/FOSSBilling.git
2424

2525
Then, navigate into the FOSSBilling directory:
2626

27-
```
27+
```bash
2828
cd FOSSBilling/
2929
```
3030

3131
Navigate into the src directory:
3232

33-
```
33+
```bash
3434
cd src/
3535
```
3636

3737
Copy the sample configuration file to create a new one:
3838

39-
```
39+
```bash
4040
cp config-sample.php config.php
4141
```
4242

4343
Go back to the main FOSSBilling directory:
4444

45-
```
45+
```bash
4646
cd ..
4747
```
4848

4949
## Installing the Required PHP Packages
5050

5151
Install the necessary PHP packages using the following command:
5252

53-
```
53+
```bash
5454
sudo apt-get install php8.2-cli php8.2-common php8.2-gd php8.2-curl php8.2-dom php8.2-zip php8.2-mbstring php8.2-cli php8.2-xml php8.2-tokenizer
5555
```
5656

5757
You can confirm the PHP version with:
5858

59-
```
59+
```bash
6060
php -v
6161
```
6262

6363
## Installing Composer
6464

6565
Install composer using these commands:
6666

67-
```
67+
```bash
6868
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
6969
php -r "if (hash_file('sha384', 'composer-setup.php') === 'e21205b207c3ff031906575712edab6f13eb0b361f2085f1f1237b7126d785e826a450292b6cfd1d64d92e6563bbde02') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
7070
php composer-setup.php
7171
php -r "unlink('composer-setup.php');"
72-
```
72+
```bash
7373
7474
## Updating Dependencies
7575
7676
Next, update the project dependencies:
7777
78-
```
78+
```bash
7979
./composer.phar update
8080
```
8181

8282
## Running Tests
8383

8484
Run the tests to ensure everything is set up properly:
8585

86-
```
86+
```bash
8787
src/vendor/phpstan/phpstan/phpstan
8888
src/vendor/phpunit/phpunit/phpunit
89+
```
8990

9091
Congratulations, your development environment is now set up and ready!

0 commit comments

Comments
 (0)