Skip to content
المشاريع

حول

Pgtune: ضبط إعدادات PostgreSQL بما يتناسب مع عتادك.

البيانات والتحليلات

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
+٢
خلال 15 يومًا
٠
خلال شهر
+٣

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

PgTune Build and Deploy

PGTune

Tuning PostgreSQL config by your hardware. Based on original pgtune. Illustration by Kate.

Development

To start it in development mode, you need install node.js, yarn and run in terminal:

$ yarn # get all node.js deps
$ yarn dev # start server on 5173 port

Production build (with prerendered pages and service worker) can be checked with:

$ yarn build && yarn preview

Checks

$ yarn lint # code style and lint checks (fix formatting with "yarn format")
$ yarn test # unit tests, "yarn test:watch" to rerun them on changes
$ yarn test:coverage # unit tests with coverage report in coverage/index.html
$ yarn playwright install chromium # once, browser for smoke tests
$ yarn test:e2e # smoke tests of production build in browser

Generated configurations for representative inputs are stored in src/features/configuration/__tests__/__snapshots__/configurations, so every change of calculated settings or warnings is visible in pull request. After a deliberate change, update them and review the difference:

$ yarn test -u

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…