Skip to content

Commit 7466434

Browse files
authored
Update README.md (#590)
1 parent efdad80 commit 7466434

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ GrandNode can be installed in a few different ways. Note: The develop branch is
8080
latest stable version, download it from the Releases page or switch to a release branch.
8181

8282
* Docker
83-
```
83+
```bash
8484
docker run -d -p 127.0.0.1:27017:27017 --name mongodb mongo
8585
docker run -d -p 80:8080 --name grandnode2 --link mongodb:mongo -v grandnode_images:/app/wwwroot/assets/images -v grandnode_appdata:/app/App_Data grandnode/grandnode2
8686
```
8787
If you want to download the latest stable version of GrandNode please use the following command, where x.xx is a number of GrandNode release:
88-
```
88+
```bash
8989
docker pull grandnode/grandnode2:x.xx
9090
```
9191

@@ -96,25 +96,25 @@ Run the project in the Visual Studio 2022+, extract the source code package down
9696
* Host on Linux server
9797

9898
Before you start - please install, configure the nginx server, .NET Core 8.0+ and MongoDB 4.0+
99-
```
99+
```bash
100100
mkdir ~/source
101101
cd ~/source
102102
git clone - b x.xx https://github.com/grandnode/grandnode2.git
103103
```
104-
```
104+
```bash
105105
cd ~/source/grandnode
106106
dotnet restore GrandNode.sln
107107
```
108108
Now it's time to rebuild all of our plugins and publish application (command is pretty long because we've combined all commands in a single line, to ease up your work):
109-
```
109+
```bash
110110
sudo dotnet build src/Plugins/Authentication.Facebook && sudo dotnet build src/Plugins/Authentication.Google && sudo dotnet build src/Plugins/DiscountRules.Standard && sudo dotnet build src/Plugins/ExchangeRate.McExchange && sudo dotnet build src/Plugins/Payments.BrainTree && sudo dotnet build src/Plugins/Payments.CashOnDelivery && sudo dotnet build src/Plugins/Payments.StripeCheckout && sudo dotnet build src/Plugins/Shipping.ByWeight && sudo dotnet build src/Plugins/Shipping.FixedRateShipping && sudo dotnet build src/Plugins/Shipping.ShippingPoint && sudo dotnet build src/Plugins/Tax.CountryStateZip && sudo dotnet build src/Plugins/Tax.FixedRate && sudo dotnet build src/Plugins/Widgets.FacebookPixel && sudo dotnet build src/Plugins/Widgets.GoogleAnalytics && sudo dotnet build src/Plugins/Widgets.Slider && sudo dotnet build src/Plugins/Theme.Modern && sudo dotnet publish src/Web/Grand.Web -c Release -o /var/webapps/grandnode
111111
```
112112
Optional: Create the service file, to automatically restart your application.
113-
```
113+
```bash
114114
sudo vi /etc/systemd/system/grandnode.service
115115
```
116116
Paste the following content, and save changes:
117-
```
117+
```ini
118118
[Unit]
119119
Description=GrandNode
120120

@@ -171,7 +171,7 @@ We have a clear vision in which direction we would like to develop GrandNode. Re
171171
## Contributing
172172

173173
GrandNode is and always will be free and open-source.
174-
How to contribut:
174+
How to contribute:
175175
- Star this project on GitHub.
176176
- Report bugs or suggest features by creating new issues
177177
- Submit pull requests
@@ -186,4 +186,4 @@ Become a sponsor and get your logo on our README on Github with a link to your s
186186
To clarify behavior rules in our community, GrandNode has adopted the code of conduct defined by the Contributor Covenant. For more information see the [Code of Conduct.](https://www.contributor-covenant.org/version/2/0/code_of_conduct/)
187187

188188
## License
189-
GrandNode is completely free and distributed under the GNU General Public License v3.0. It's available [here](https://github.com/grandnode/grandnode2/blob/main/LICENSE)
189+
GrandNode is completely free and distributed under the GNU General Public License v3.0. It's available [here](LICENSE)

0 commit comments

Comments
 (0)