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
Copy file name to clipboardExpand all lines: README.md
+13-24Lines changed: 13 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,17 +38,11 @@ cd homebrewhub
38
38
39
39
Now, no matter if you choose the local setup or the docker one, you will need a couple of pre-requirements on the system:
40
40
41
-
-`pre-commit` <br>
42
-
E.g. Install it from pip:
43
-
```bash
44
-
python3 -m venv env
45
-
source env/bin/activate
46
-
pip install pre-commit
47
-
```
48
-
After it's installed, run `pre-commit install` in the project root folder to see if everything gets initialised correctly. `pre-commit run --all-files` will run it against the whole repository.
49
-
- (Optional) The `gbtoolsid` ([Game Boy Toolchain ID](https://github.com/bbbbbr/gbtoolsid)) executable must be available in the project root to populate toolchain details for the imported entries. Get a build on the [Releases](https://github.com/bbbbbr/gbtoolsid/releases/latest) page and extract the zip or run `make prepare-gbtid` from the root of the repository.
50
-
51
-
### 2. Pull the games database(s)
41
+
1.`pre-commit` <br>
42
+
E.g. Install it with pip: `pip install pre-commit`. Once installed, run `pre-commit install` in the project root folder to see if everything gets initialised correctly. `pre-commit run --all-files` will run it against the whole repository.
43
+
2. (Optional) The `gbtoolsid` ([Game Boy Toolchain ID](https://github.com/bbbbbr/gbtoolsid)) executable must be available in the project root to populate toolchain details for the imported GB/GBC entries. There's a provided script to do so you can run with `make prepare-gbtid` or you can get a build on the [Releases](https://github.com/bbbbbr/gbtoolsid/releases/latest) page of the project and extract the zip.
44
+
45
+
### 2. Pull the entry databases
52
46
53
47
To populate the database, we'll need some sources. Here's how to pull all the 'official' databases (you need at least one):
Next, install Postgres 12 ([download link](https://www.postgresql.org/download/)), create a user, password and a database named `hh`. Have it running in the background on port `5432`.
@@ -100,23 +95,17 @@ After that, follow the steps below to get started running the project manually:
100
95
# Make sure you are in the cloned repository
101
96
cd homebrewhub
102
97
103
-
# Set up a virtual env
104
-
python3 -m venv env
98
+
# Set up a virtual env, install deps (including dev)
0 commit comments