diff --git a/.gitignore b/.gitignore index 5fb92d8..f08c761 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ build/ webdb +package-lock.json +node_modules \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ae36f87 --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +webdb: + go build + +build: + ./webdb build diff --git a/README.md b/README.md new file mode 100644 index 0000000..5a9cdd1 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# webdb + +A website to browse the content of the libretro RDB files. +https://github.com/libretro/webdb + +## Build + +``` +go build +./webdb build +``` + +## Publish + +``` +npm i +npm run build +npm run deploy +``` \ No newline at end of file diff --git a/database b/database index aa40da0..a2e9b12 160000 --- a/database +++ b/database @@ -1 +1 @@ -Subproject commit aa40da0eb3c1a56f3d2eda160c8d8620ac1a77e7 +Subproject commit a2e9b12fdc8538cd4cd9050caa1469d8a16d0221 diff --git a/package.json b/package.json new file mode 100644 index 0000000..bd80f75 --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "name": "webdb", + "version": "0.1.0", + "private": true, + "description": "A website to browse the content of the libretro RDB files. https://github.com/libretro/webdb", + "scripts": { + "prebuild": "go build", + "build": "./webdb build", + "deploy": "gh-pages -d build" + }, + "license": "ISC", + "devDependencies": { + "gh-pages": "^6.3.0" + } +}