Docker Compose is moved above Vagrant in the README. It's easier to get started with (everything works without tinkering) so it makes sense to prioritize it as the recommended option. All 3 options are pointed out at the top now, making it easier to know your options.
Instructions for using dev-data.py with Compose is added to the README.
Ubuntu instructions are added for Vagrant. While Pagure is a Fedora project, Ubuntu users may want to contribute.
dev-data.py has been painstakingly debugged and brought up-to-date with the current project codebase. There was only one thing I could not fix: the script relies on add_content_git_repo function in tests, which gives a Unicode error on 'fileŠ'. I've commented out that part of the test for now.
Users created with dev-data.py are assigned passwords (testing123) and activated instantly. This solves the need to generate a password hash, query the database, and activate each user manually. Simply running dev-data.sh now helps the user get set up.
A bug in dev-data.py is fixed. The script would continue running even if the user didn't type "yes". Now the script quits if anything except "yes" is entered.
Some id's for objects created with dev-data.py needed to be hardcoded. Running the script multiple times would autoincrement the id's and break the rest of the script.
Vagrant's .bashrc now puts the user inside of ~/devel automatically. Without this it's confusing why your repo doesn't match your current directory.
Vagrant's .bashrc now runs workon python2-pagure automatically. Without this it's confusing why dev-data.py says you're missing libraries like mock.
Vagrant now has PAGURE_AUTH = 'local' by default. Without it, the login page takes you to FAS which is confusing, and it's difficult to know how to disable it.
My hope is that this will make things easier for Outreachy contributors.
add_content_git_repofunction in tests, which gives a Unicode error on'fileŠ'. I've commented out that part of the test for now.testing123) and activated instantly. This solves the need to generate a password hash, query the database, and activate each user manually. Simply running dev-data.sh now helps the user get set up.workon python2-pagureautomatically. Without this it's confusing why dev-data.py says you're missing libraries likemock.My hope is that this will make things easier for Outreachy contributors.