- Notifications
You must be signed in to change notification settings - Fork12
A mirror of the pgcommitfest repo
License
postgres/pgcommitfest
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This application manages commitfests for the PostgreSQL community.
A commitfest is a collection of patches and reviews for a project and is part of the PostgreSQL development process.
This is a Django 4.2 application backed by PostgreSQL and running on Python 3.x.
First, prepare your development environment by installing pip, virtualenv, and postgresql-server-dev-X.Y.
sudo apt install python-pip postgresql-server-dev-14
Next, configure your local environment with virtualenv and install local dependencies.
python3 -m venv envsource env/bin/activatepip install -r dev_requirements.txt
Create a database for the application:
createdb pgcommitfest
Create a local settings file (feel free to edit it):
cp pgcommitfest/local_settings_example.py pgcommitfest/local_settings.py
Now you can now create the required tables. Note that a password might need tobe provided.
./manage.py migrate
You'll need either a database dump of the actual server's data or else to create a superuser:
./manage.py createsuperuser
Finally, you're ready to start the application:
./run_dev.py
Then openhttp://localhost:8007/admin to log in. Once redirected to the Djangoadmin interface, go back to the main interface. You're now logged in.
Before committing make sure to install the git pre-commit hook to adhere to thecodestyle.
ln -s ../../tools/githook/pre-commit .git/hooks/
About
A mirror of the pgcommitfest repo
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors14
Uh oh!
There was an error while loading.Please reload this page.