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
4. After you edit files on your desktop as desired, do:
16
18
```
19
+
cd OBF.github.io
17
20
git checkout -b BRANCH_NAME
18
21
git add FILES
19
22
git commit -m "my changes"
20
23
git push (or you might need to do git push --set-upstream origin BRANCH_NAME)
21
24
```
22
25
23
-
4. Then go to https://github.com/YOUR_GITHUB_ID/OBF.github.io to make a PR
24
-
5. Once the PR is merged, your changes should be visible on [https://obf.github.io/](https://obf.github.io/)
26
+
5. Then go to https://github.com/YOUR_GITHUB_ID/OBF.github.io to make a PR
27
+
6. Once the PR is merged, your changes should be visible on
28
+
[https://obf.github.io/](https://obf.github.io/)
29
+
30
+
8. Next time you want to make more changes, first update your local
31
+
copy to pull in any changes others may have committed:
32
+
```
33
+
git checkout main
34
+
git pull
35
+
```
36
+
Then do the steps in #4 (with a new branch name) to commit your changes.
37
+
25
38
26
39
### Using hugo
27
40
0. Hugo documentation: https://gohugo.io/getting-started/quick-start/
@@ -44,3 +57,4 @@ hugo server &
44
57
1. Create XML export of existing WP site with all pages & posts
45
58
2. Run the conversion script [wp2hugo](https://github.com/ashishb/wp2hugo) in the following way `/wp2hugo -source obf.WordPress.2025-01-30.xml -output obf-test-hugo -download-media -continue-on-media-download-error`
46
59
3. update the `hugo.yaml` to use the correct base page (as currently not deployed on open-bio.org)
0 commit comments