Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
e3781728
Commit
e3781728
authored
Feb 10, 2016
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs(readme): declare code as bash
parent
eda23252
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
README.md
+5
-5
No files found.
README.md
View file @
e3781728
...
@@ -80,13 +80,13 @@ the latest master builds [here](http://grafana.org/download/builds)
...
@@ -80,13 +80,13 @@ the latest master builds [here](http://grafana.org/download/builds)
### Get Code
### Get Code
```
```
bash
go get github.com/grafana/grafana
go get github.com/grafana/grafana
```
```
### Building the backend
### Building the backend
Replace X.Y.Z by actual version number.
Replace X.Y.Z by actual version number.
```
```
bash
cd
$GOPATH
/src/github.com/grafana/grafana
cd
$GOPATH
/src/github.com/grafana/grafana
go run build.go setup
(
only needed once to install godep
)
go run build.go setup
(
only needed once to install godep
)
godep restore
(
will pull down all golang lib dependencies
in
your current GOPATH
)
godep restore
(
will pull down all golang lib dependencies
in
your current GOPATH
)
...
@@ -98,7 +98,7 @@ go run build.go build
...
@@ -98,7 +98,7 @@ go run build.go build
To build less to css for the frontend you will need a recent version of of node (v0.12.0),
To build less to css for the frontend you will need a recent version of of node (v0.12.0),
npm (v2.5.0) and grunt (v0.4.5). Run the following:
npm (v2.5.0) and grunt (v0.4.5). Run the following:
```
```
bash
npm install
npm install
npm install
-g
grunt-cli
npm install
-g
grunt-cli
grunt
grunt
...
@@ -106,13 +106,13 @@ grunt
...
@@ -106,13 +106,13 @@ grunt
### Recompile backend on source change
### Recompile backend on source change
To rebuild on source change (requires that you executed godep restore)
To rebuild on source change (requires that you executed godep restore)
```
```
bash
go get github.com/Unknwon/bra
go get github.com/Unknwon/bra
bra run
bra run
```
```
### Running
### Running
```
```
bash
./bin/grafana-server
./bin/grafana-server
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment