Opened 6 years ago

Closed 5 years ago

#5618 enhancement closed duplicate (duplicate)

document how to run lj.rpy.py

Reported by: Shruti Owned by:
Priority: normal Milestone:
Component: web Keywords: documentation
Cc: jesstess, Thijs Triemstra Branch:
Author: shruti

Description

An rpy script is a file which defines a python resource and can be loaded in a Twisted Web server. These files in the repository are saved with extensions .rpy.py. These files cannot be run similar to normal python sources. I have added the documentation which would guide the users to run these files.

Attachments (2)

5618.diff (1.7 KB) - added by Shruti 6 years ago.
The lj.rpy.py and fortune.rpy.py files now contains instructions on how to run them.
5618.2.diff (1.3 KB) - added by Shruti 6 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 6 years ago by jesstess

Author: shruti
Cc: jesstess added
Keywords: documentation added

Changed 6 years ago by Shruti

Attachment: 5618.diff added

The lj.rpy.py and fortune.rpy.py files now contains instructions on how to run them.

comment:2 Changed 6 years ago by Shruti

Keywords: review added; documentation removed
Owner: changed from jesstess to Shruti

comment:3 Changed 6 years ago by Shruti

Owner: Shruti deleted

comment:4 Changed 6 years ago by Thijs Triemstra

Cc: Thijs Triemstra added
Keywords: documentation added; review removed
Owner: set to Shruti

Thanks for your patch.

  • doc/web/examples/fortune.rpy.py
    • needs a copyright header
    • this is a minor change, so an empty .misc file is ok
  • it looks like there's a word missing behind replacing `myusername` with a valid LiveJournal username, to see links to recent posts by that (user?)

comment:5 Changed 6 years ago by Thijs Triemstra

Component: coreweb

comment:6 Changed 6 years ago by Shruti

Owner: Shruti deleted

Changed 6 years ago by Shruti

Attachment: 5618.2.diff added

comment:7 Changed 5 years ago by Thijs Triemstra

Resolution: duplicate
Status: newclosed

This was fixed in #5612 (r34258), marking it as a duplicate.

Note: See TracTickets for help on using tickets.