Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.

sebnow/aur2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is a complete rewrite of the Archlinux User Repository in Python/Django. It was created to improve the usability and usefulness of the AUR, and to make it more maintainable.

The purpose of this application is to provide a catalogue of Archlinux PKGBUILDs and binary packages. It allows user-contributed PKGBUILDs without any verification process, beyond that which can be performed automatically.

For more information about the development process see the AUR 2 article on the Archlinux wiki

Dependencies

If you use pip, a pip-requirements.txt file is provided. It can be used as such:

pip install -r pip-requirements.txt

Configuration

After all dependencies have been installed the settings_local.py file should be configured, a prototype has been provided as settings_local.py.sample. The default settings.py file has defaults targeted for a development environment. On a production system at least the settings in settings_local.py.sample should configured.

The ADMIN_MEDIA_PREFIX is only required if the admin app is used. It can be left as is, but MEDIA_URL would have to to be changed. The suggested configuration is to set it to /media/admin/ and symlink that directory to the admin media directory (django/contrib/admin/media) in your Django installation.

A functioning email server is necessary for various parts of the application. The EMAIL_HOST and EMAIL_PORT settings should be configured appropriately. For development purposes, a dummy server can be used instead:

python -m smtpd -n -c DebuggingServer localhost:1025

At this point it would be a good idea to run all tests, to make sure everything works:

python manage.py test

About

Complete rewrite of the Archlinux User Repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published