You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can find a list of shortcuts at [shortcuts.md](shortcuts.md).
14
14
15
-
16
15
## 🌟 Try It Out!
17
16
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!
19
19
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
24
21
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:
25
26
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
27
35
28
36
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).
29
37
A little terminal magic is required, but don't worry, we have the commands all laid out for you!
30
38
31
-
#### JabRef:
39
+
#### JabRef
32
40
33
41
1. Go to your git-repositories folder and start a new terminal session
8. Save (Button in the top left or <kbd>CTRL/CMD</kbd> + <kbd>S</kbd>)
41
49
9. File > Preferences > Check "HTTP Server"
42
50
51
+
#### JabMap
43
52
44
-
#### JabMap:
53
+
After setting up JabRef, follow these steps to run it locally.
45
54
46
55
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.
47
56
@@ -53,33 +62,31 @@ After setting up JabRef, you can either use [JabMap on GitHub pages](https://jab
53
62
6. Install dependencies: `sh gg.cmd npm install`
54
63
7. Build: `sh ./gg.cmd npm run build`
55
64
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.
58
66
10. Select the root node by clicking on it
59
67
11. Press <kbd>CTRL</kbd> + <kbd>B</kbd>
60
68
12. Select any number of BibTeX entries from the library
61
69
13. Press "Cite"
62
70
63
-
**You just successfully created your first BibTeX nodes!**
71
+
**You just successfully created your first BibTeX nodes!**
64
72
65
73
## 🤖 Getting the server running
66
74
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:
68
76
69
-
### using gg.cmd
77
+
### using `gg.cmd`
70
78
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:
72
80
73
-
```
81
+
```bash
74
82
sh ./gg.cmd jbang .jbang/JabSrvLauncher.java
75
83
```
76
84
77
85
> 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 :)
78
86
79
-
80
87
### Starting it from an IDE
81
88
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/).
83
90
2. Afterwards, open it in editor of your choice (_IDEA works well for this_) and locate the `jabsrv/src/test/rest-api.http` file.
84
91
3. Follow the steps described at the top of the file to start the server.
85
92
@@ -89,14 +96,14 @@ _Alternatively_ you can do the following:
89
96
90
97
More about starting the server in [JabRef's server documentation](https://devdocs.jabref.org/code-howtos/http-server.html)
91
98
92
-
93
99
## 💾 Install by building the application
94
100
95
101
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.
96
102
This section is more targeted towards
97
103
Currently, there is no production build available for download so you have to build it yourself :3
98
104
99
105
### Basic Setup
106
+
100
107
Firstly ensure you have `nvm` (_Node version manager_) and `Node.js` installed:
101
108
102
109
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:
112
119
After you ensured the basic setup is complete, clone this repository onto your machine and open a terminal session at the project root.
113
120
114
121
### Building
122
+
115
123
Now you should be able to run the following commands:
124
+
116
125
1.`npm install` - this will install / update all necessary packages in a `./node_modules` directory.
117
126
2.`npm run bundle` - this will bundle the project into the `./electron-dist` directory.
118
127
@@ -127,6 +136,7 @@ _More about this workaround in [this issue](https://github.com/electron-userland
127
136
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.
128
137
129
138
### Starting
139
+
130
140
After a successful build you can finally start the app located at `./electron-dist/win-unpacked/JabMap.exe`.
131
141
132
142
_Optionally you can install it by opening_`./electron-dist/JabMap Setup 1.0.0.exe`
0 commit comments