Skip to content

Commit 87d154b

Browse files
committed
Merge branch 'dev'
2 parents c44224f + 174e345 commit 87d154b

File tree

4 files changed

+209
-208
lines changed

4 files changed

+209
-208
lines changed

README.md

Lines changed: 31 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,55 @@
22

33
Next-Generation scientific mind mapping.
44

5+
Inspired by [Docear](https://docear.org/)
56

67
## 📸 Screenshots
78

89
<img width="1429" alt="JabMap-Example" src="https://github.com/user-attachments/assets/4a175c10-a0eb-438f-b5f6-1dcfb4e2520c" />
910

10-
1111
## ⌨️ Shortcuts
1212

1313
You can find a list of shortcuts at [shortcuts.md](shortcuts.md).
1414

15-
1615
## 🌟 Try It Out!
1716

18-
There are a couple of ways to try out JabMap. In any case, you first have to start the HTTP-Server on your machine since Saving, Loading and JabRef-related features like BibTeX-Nodes and importing attached PDF-files as nodes won't work unless you are running JabRef's HTTP-Server (see [below](#-getting-the-server-running) for setup). Afterwards check out [github pages](https://jabref.github.io/jabmap/) where you can try JabMap in your browser!
17+
There are a couple of ways to try out JabMap. In any case, you first have to start JabRef's HTTP-Server on your machine since saving, loading, and JabRef-related features such BibTeX-Nodes and importing attached PDF-files as nodes won't work unless you are running JabRef's HTTP-Server.
18+
Afterwards check out [github pages](https://jabref.github.io/jabmap/) where you can try JabMap in your browser!
1919

20-
> Note: It's still possible your browser blocks access to the server due to HTTP/HTTPS issues
21-
> If you see an Error 404 page, this is most likely the cause. Check if the server has started properly or use another browser and try again.
22-
>
23-
> For the best experience follow the steps below on how to try JabMap.
20+
### Quick-Start-Guide
2421

22+
1. Ensure that you have downloaded the latest development version of JabRef from <https://builds.jabref.org/main/>.
23+
2. Launch JabRef.
24+
3. File > Preferences > Check "HTTP Server"
25+
4. If you don't have any BibTeX files at hand:
2526

26-
### Quick-Start-Guide
27+
1. Click on "Create example Library"
28+
2. Save (Button in the top left or <kbd>Ctrl/Ccmd</kbd> + <kbd>S</kbd>)
29+
30+
5. Visit <https://jabref.github.io/jabmap/>
31+
32+
Hint: At click on "Save", a `.jmp` file is created next to your `.bib` file.
33+
34+
## Running locally
2735

2836
The following commands get the code in place and start JabRef and JabMap with the help of a handy wrapper tool called [gg.cmd](https://github.com/eirikb/gg).
2937
A little terminal magic is required, but don't worry, we have the commands all laid out for you!
3038

31-
#### JabRef:
39+
#### JabRef
3240

3341
1. Go to your git-repositories folder and start a new terminal session
3442
2. `git clone --recurse-submodules https://github.com/JabRef/jabref.git`
3543
3. `cd jabref`
3644
4. Enable nice wrapper: `curl -L ggcmd.io > gg.cmd`
37-
5. `sh ./gg.cmd just run-pr 13519`
45+
5. `sh ./gg.cmd just run-gui`
3846
6. Wait for JabRef to come up
3947
7. Click on "Create example Library"
4048
8. Save (Button in the top left or <kbd>CTRL/CMD</kbd> + <kbd>S</kbd>)
4149
9. File > Preferences > Check "HTTP Server"
4250

51+
#### JabMap
4352

44-
#### JabMap:
53+
After setting up JabRef, follow these steps to run it locally.
4554

4655
After setting up JabRef, you can either use [JabMap on GitHub pages](https://jabref.github.io/jabmap/) or follow these steps to run it locally.
4756

@@ -53,33 +62,31 @@ After setting up JabRef, you can either use [JabMap on GitHub pages](https://jab
5362
6. Install dependencies: `sh gg.cmd npm install`
5463
7. Build: `sh ./gg.cmd npm run build`
5564
8. Run: `sh ./gg.cmd npm run preview`
56-
9. Now you can open http://localhost:4173/ and open a library with the corresponding map.
57-
65+
9. Now you can open <http://localhost:4173/> and open a library with the corresponding map.
5866
10. Select the root node by clicking on it
5967
11. Press <kbd>CTRL</kbd> + <kbd>B</kbd>
6068
12. Select any number of BibTeX entries from the library
6169
13. Press "Cite"
6270

63-
**You just successfully created your first BibTeX nodes!**
71+
**You just successfully created your first BibTeX nodes!**
6472

6573
## 🤖 Getting the server running
6674

67-
As mentioned above, several features are handled by JabRef's HTTP server. Currently you have to start it manually. Luckily, there are multiple ways to do that:
75+
Instead of having the JabRef GUI running, you can just run JabRef's HTTP server. There are multiple ways to do that:
6876

69-
### using gg.cmd
77+
### using `gg.cmd`
7078

71-
If you followed the setup for JabRef [above](#jabref), instead of steps 6. - 9. you can simply do the following to start the server without JabRef's GUI:
79+
If you followed the setup for JabRef [above](#jabref), instead of steps 5 and 6 you can simply do the following to start the server without JabRef's GUI:
7280

73-
```
81+
```bash
7482
sh ./gg.cmd jbang .jbang/JabSrvLauncher.java
7583
```
7684

7785
> Note: this is **not** recommended for trying out JabMap for the first time since it will not allow you to create a new library. Use this only if you already used JabRef before :)
7886
79-
8087
### Starting it from an IDE
8188

82-
1. If you haven't already, clone our [JabRef's fork repository](https://github.com/iloveskittles82/jabref) (_Note: It is recommended to complete this step of_ [_JabRef's setup guide_](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-12-build.html)).
89+
1. If you haven't already, clone our JabRef and follow [JabRef's setup guide](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/).
8390
2. Afterwards, open it in editor of your choice (_IDEA works well for this_) and locate the `jabsrv/src/test/rest-api.http` file.
8491
3. Follow the steps described at the top of the file to start the server.
8592

@@ -89,14 +96,14 @@ _Alternatively_ you can do the following:
8996

9097
More about starting the server in [JabRef's server documentation](https://devdocs.jabref.org/code-howtos/http-server.html)
9198

92-
9399
## 💾 Install by building the application
94100

95101
Now that you've tried it, here is how to build and install it. We hope to provide a downloadable installer in the future, but for now you have to build the app yourself.
96102
This section is more targeted towards
97103
Currently, there is no production build available for download so you have to build it yourself :3
98104

99105
### Basic Setup
106+
100107
Firstly ensure you have `nvm` (_Node version manager_) and `Node.js` installed:
101108

102109
1. Open terminal (_you may have to run it with administrator permissions_)
@@ -112,7 +119,9 @@ Firstly ensure you have `nvm` (_Node version manager_) and `Node.js` installed:
112119
After you ensured the basic setup is complete, clone this repository onto your machine and open a terminal session at the project root.
113120

114121
### Building
122+
115123
Now you should be able to run the following commands:
124+
116125
1. `npm install` - this will install / update all necessary packages in a `./node_modules` directory.
117126
2. `npm run bundle` - this will bundle the project into the `./electron-dist` directory.
118127

@@ -127,6 +136,7 @@ _More about this workaround in [this issue](https://github.com/electron-userland
127136
On Linux and Mac, there is a bug with npm and optional dependencies (See [this issue](https://github.com/npm/cli/issues/4828). Should you encounter this bug after running `npm install`, remove the `package-lock.json` file and `node-modules` directory and run `npm i`. Then, simply continue with step 2.
128137

129138
### Starting
139+
130140
After a successful build you can finally start the app located at `./electron-dist/win-unpacked/JabMap.exe`.
131141

132142
_Optionally you can install it by opening_ `./electron-dist/JabMap Setup 1.0.0.exe`

0 commit comments

Comments
 (0)