Edgewall Software

Changes between Version 44 and Version 45 of TracDev/DevelopmentEnvironmentSetup


Ignore:
Timestamp:
Mar 1, 2023, 9:26:12 AM (14 months ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/DevelopmentEnvironmentSetup

    v44 v45  
    2727=== Get Python
    2828
    29 On Linux, you'll usually want to install Python using the package manager for your distribution. For example, on a distribution utilizing the Apt package manager (Debian, Ubuntu):
     29On Linux install Python using the package manager for your distribution. For example, on a distribution utilizing the Apt package manager (Debian, Ubuntu):
    3030{{{#!sh
    3131$ sudo apt-get install python
    3232}}}
    3333
    34 You will also need some additional libraries:
     34You will also need additional libraries:
    3535{{{#!sh
    3636$ sudo apt-get install python-subversion
     
    4545=== Get pip
    4646
    47 You'll already have `pip` installed with Python >= 2.7.9. If you are running an earlier version of Python, first check whether `pip` is already installed:
     47You will already have `pip` installed with Python >= 2.7.9. If you are running an earlier version of Python, first check whether `pip` is already installed:
    4848{{{#!sh
    4949$ pip --version
     
    5353=== Get virtualenv
    5454
    55 You may already have `virtualenv` installed.
     55`virtualenv` is a tool to create isolated Python environments and allows you to test out Trac code or Python code in general without risk of data loss to the rest of your computer. You may already have `virtualenv` installed:
    5656{{{#!sh
    5757$ virtualenv --version
     
    7979}}}
    8080
    81 You'll see your command-line prompt has changed. That means your environment is ready for Trac.
     81You will see your command-line prompt prefixed with `(pve)` or similar. That means you have entered the virtual environment and your environment is ready for Trac installation and development.
    8282
    83 === Upgrade Dependencies
     83=== Upgrade dependencies
    8484
    85 Upgrade the dependencies in your environment.
     85Upgrade the dependencies in your environment:
    8686{{{#!sh
    8787$ pip install -U pip setuptools wheel
     
    9090== Developing with Eclipse and !PyDev
    9191
    92 If you are planning to develop using Eclipse, you should also read the [TracDev/DevelopmentWithEclipseAndPyDev Development with Eclipse and PyDev] page, after installing and configuring Trac in the next section.
     92If you are planning to develop using the Eclipse IDE, you should also read the [TracDev/DevelopmentWithEclipseAndPyDev Development with Eclipse and PyDev] page, after installing and configuring Trac in the next section.
    9393
    9494== Installing and configuring Trac
     
    9696=== Download Trac
    9797
    98 You should get the Trac source code from one of the TracRepositories. For example, to checkout from Subversion using the command-line:
     98Get the Trac source code from one of the TracRepositories. For example, to checkout from Subversion using the command-line:
    9999{{{#!sh
    100100$ svn co https://svn.edgewall.org/repos/trac/trunk/ trac-trunk
     
    125125}}}
    126126
    127 '''Note:''' Don't do this in production!
     127'''Note:''' Don't do this in a production environment!
    128128
    129129=== Install the [th:TracDeveloperPlugin] (optional)
     
    159159=== Open Trac in your browser
    160160
    161 Switch to your browser and go to `http://127.0.0.1:8000/` 
     161Switch to your browser and go to `http://127.0.0.1:8000/`. You should see the Trac landing page.
    162162
    163163Now do the following:
     
    170170=== Alternative frontends
    171171
    172 To develop on Trac with Apache rather than the standalone `tracd`, see the [TracDev/AlternativeFrontends alternative frontends] page for information on using Apache with mod_python and mod_wsgi.
     172To develop on Trac with Apache rather than the standalone `tracd`, see the [TracDev/AlternativeFrontends alternative frontends] page for information on using Apache with `mod_python` and `mod_wsgi`.
    173173
    174174== Further guidelines