Blame dev/ansible/roles/pagure-dev/files/motd
|
Jeremy Cline |
4e3668 |
|
|
Jeremy Cline |
4e3668 |
Welcome to the Pagure development environment!
|
|
Jeremy Cline |
4e3668 |
|
|
Jeremy Cline |
4e3668 |
Here are some tips:
|
|
Jeremy Cline |
4e3668 |
|
|
Alex Gleason |
6656f7 |
* Pagure is installed in a Python virtualenv. Use `deactivate` to leave it,
|
|
Akanksha |
4d6eb3 |
or `workon python3-pagure` to get back in.
|
|
Jeremy Cline |
4e3668 |
|
|
Jeremy Cline |
4e3668 |
* The code for Pagure is located at ~/devel/
|
|
Jeremy Cline |
4e3668 |
|
|
Alex Gleason |
6656f7 |
* You can populate the database with `python dev-data.py --all`
|
|
Jeremy Cline |
4e3668 |
|
|
Jeremy Cline |
4e3668 |
* Run `pstart` to start the development server and `pstop` to stop it.
|
|
Jeremy Cline |
4e3668 |
|
|
Jeremy Cline |
4e3668 |
* Logs for the server are available with `journalctl`; the services are run
|
|
Jeremy Cline |
4e3668 |
as systemd user units in ~/.config/systemd/user/
|
|
Jeremy Cline |
4e3668 |
|
|
Lenka Segura |
9ca902 |
* To run the tests you need python3 virtualenv: `workon python3-pagure`.
|
|
Lenka Segura |
9ca902 |
Then you can run them with `./runtests.py run`.
|
|
Lenka Segura |
9ca902 |
|
|
Jeremy Cline |
4e3668 |
Once you start the server you can navigate to http://localhost:5000/
|
|
Jeremy Cline |
4e3668 |
in your browser on the host to access your Pagure development environment.
|
|
Jeremy Cline |
4e3668 |
|
|
Hervé Beraud |
bca5f9 |
During your navigate you can use any of the created users,
|
|
Hervé Beraud |
bca5f9 |
by example `pingou/testing123`.
|
|
Hervé Beraud |
bca5f9 |
|
|
Jeremy Cline |
4e3668 |
Happy hacking!
|