Giter Site home page Giter Site logo

pg-browser's Introduction

pg-browser

PostgreSQL. In a browser. FTW.

build instructions (work in progress)

notes

  • At this time, postgres runs using the older buildroot release (the default setup for browser-vm)
  • Switching to the latest buildroot (2022.05.1) compiles the v86-linux.iso file and the iso includes postgres, but postgres crashes with a segfault on startup
  • Additional changes may need to be made to the buildroot-v86 folder before building this, or we need some other changes in menuconfig??

build steps

git clone https://github.com/humphd/browser-vm
cd browser-vm

Modify Dockerfile line 4: ARG BUILD_ROOT_RELEASE=2022.05.1

docker build -t buildroot .
docker run \
    --rm \
    --name build-v86 \
    -v $PWD/dist:/build \
    -v $PWD/buildroot-v86/:/buildroot-v86 \
    -ti \
    --platform linux/amd64 \
    --entrypoint "bash" \
    buildroot

inside vm:

make BR2_EXTERNAL=/buildroot-v86 v86_defconfig
make menuconfig

configure to include postgres

  • Toolchain -> Enable WCHAR support
  • Target Packages -> Libraries -> Database -> postgresql & postgresql-full
  • save configuration & exit
make
make legal-info

pg-browser's People

Contributors

ben-kennedy1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.