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 |
|
|
Jeremy Cline |
4e3668 |
* Pagure is installed in a Python virtualenv. Use `workon python2-pagure` to
|
|
Jeremy Cline |
4e3668 |
enter the virtualenv.
|
|
Jeremy Cline |
4e3668 |
|
|
Jeremy Cline |
4e3668 |
* The code for Pagure is located at ~/devel/
|
|
Jeremy Cline |
4e3668 |
|
|
Jeremy Cline |
4e3668 |
* You can populate the database with the `dev-data.py` script in the repository
|
|
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 |
|
|
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 |
|
|
Jeremy Cline |
4e3668 |
Happy hacking!
|