mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-04 20:45:58 +01:00
Update docs
This commit is contained in:
@@ -1,29 +1,18 @@
|
|||||||
How to run from the source tree
|
How to run from the source tree
|
||||||
========
|
========
|
||||||
|
|
||||||
for Testers
|
Run for Development
|
||||||
--------
|
--------
|
||||||
|
|
||||||
If you want to test GitBucket, input following command at the root directory of the source tree.
|
If you want to test GitBucket, input following command at the root directory of the source tree.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sbt jetty:start jetty:join
|
$ sbt ~jetty:start
|
||||||
```
|
```
|
||||||
|
|
||||||
Then access to `http://localhost:8080/` by your browser. The default administrator account is `root` and password is `root`.
|
Then access to `http://localhost:8080/` by your browser. The default administrator account is `root` and password is `root`.
|
||||||
|
|
||||||
`CTRL + C` to shutdown.
|
Source code modification is detected and reloaded automatically. You can modify logging configuration by editing `src/main/resources/logback-test.xml`.
|
||||||
|
|
||||||
for Developers
|
|
||||||
--------
|
|
||||||
If you want to modify source code and confirm it, you can run GitBucket in auto reloading mode as following:
|
|
||||||
|
|
||||||
```
|
|
||||||
$ sbt
|
|
||||||
...
|
|
||||||
> jetty:start
|
|
||||||
> ~compile
|
|
||||||
```
|
|
||||||
|
|
||||||
Build war file
|
Build war file
|
||||||
--------
|
--------
|
||||||
|
|||||||
Reference in New Issue
Block a user