Changes between Version 197 and Version 198 of TracOnWindows
- Timestamp:
- Apr 27, 2007, 6:48:18 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracOnWindows
v197 v198 59 59 1. Click "Start" > "Run..." (or press Win+R) 60 60 1. Type "cmd" and click "Ok" 61 1. Type "cd \Python24\Scripts"61 1. Type "cd c:\Python24\Scripts" 62 62 63 63 You should now be in the folder "C:\Python24\Scripts" where you can run the "easy_install" command to install the required software. … … 89 89 || ''PySqlite'' || [http://initd.org/pub/software/pysqlite/releases/2.3/2.3.2/pysqlite-2.3.2.win32-py2.4.exe pysqlite-2.3.2.win32-py2.4.exe] (or the [http://initd.org/pub/software/pysqlite/releases/2.3/2.3.2/pysqlite-2.3.2.win32-py2.3.exe Python 2.3 version]) || 90 90 91 Download the installer pysqlite-2.3.2.win32-py2.4.exe to your usual download directory. When it has finished downloading, double-click on it to run the installer. The installer window will appear, labeled "Setup pysqlite-2.3.2". 91 Download the installer pysqlite-2.3.2.win32-py2.4.exe to your usual download directory. 92 93 When it has finished downloading, double-click on it to run the installer. The installer window will appear, labeled '''Setup pysqlite-2.3.2'''. 92 94 93 95 On the first window of the installation dialog, click Next to begin the installation process. 94 96 95 On the second window, confirm the Python install directory. If you have followed the instructions above, it will be "c:\ \python24\". The default install directory will show as "c:\python24\Lib\site-packages\". Accept the defaults or change them to match your own directory structure. Click Next to proceed.97 On the second window, confirm the Python install directory. If you have followed the instructions above, it will be "c:\python24\". The default install directory will show as "c:\python24\Lib\site-packages\". Accept the defaults or change them to match your own directory structure. Click Next to proceed. 96 98 97 99 The next window in the dialog gives you a chance to cancel or continue. To continue, click Next. 98 100 99 On the next window, the installer shows you installation progress as files are written to the target locations. When the processing is complete, click Finish. 101 On the next window, the installer shows you installation progress as files are written to the target locations. When the processing is complete, click Finish. If you check the contents of c:\python24\Lib\site-packages\ directory, you should see the directory '''pysqlite2''', which contains the database scripts. 100 102 101 103 === Install Subversion (optional) === #Subversion … … 108 110 [http://subversion.tigris.org/files/documents/15/35379/svn-1.4.2-setup.exe svn-1.4.2-setup.exe] 109 111 112 The installation begins by displaying a small dialog titled '''Setup'''. It asks you whether you wish to continue. Click Yes. 113 114 A larger window appears, titled '''Setup - Subversion'''. The first window of the dialog says "Welcome to the Subversion Setup Wizard". Click Next. Click "I accept the agreement" and then click Next. On the next window, read the important information and click Next. 115 116 Select your destination directory for the Subversion installation. Click Next. You will then have the option of installing a Subversion menu item on the Start Menu, and a selection of places to put Subversion icons. Click Next. Finally you are ready to install. Click Next and the files will be copied to your selected destination. A couple more windows follow the install process, and then you're done. 117 110 118 ==== ==== #svnbindings 111 119 Go back to your command line to install the Subversion Python library: … … 116 124 '''Note:''' the "-Z" option is necessary when installing Subversion so that it is "unzipped". Trac will not be able to access Subversion if it is zipped. 117 125 126 The installation process will begin with "Downloading http://subversion.tigris.org/downloads/svn-python-1.4.2.win32-py2.4.exe" and -- if successful -- ends with "Processing dependencies for svn-python==1.4.2". 127 118 128 === Install Trac === 119 129 … … 123 133 '''Note:''' do '''not''' run easy_install on the Trac installer. This is not currently supported and Trac will not work correctly when installed this way. 124 134 135 When you run the installer, it displays a window titled '''Setup Trac 0.10'''. On the first window of the installation dialog, click Next to get started. Confirm your Python directory and your intended installation directory. Click Next. Click Next again to start the installation. When the process is over, click Finish to complete the installation. 136 125 137 ---- 126 138 … … 133 145 Back to the command line: 134 146 {{{ 135 md \projects136 cd projects147 md c:\projects 148 cd c:\projects 137 149 }}} 138 150 139 151 '''Optional:''' if you're using Trac with Subversion you can create a new repository for your source code: 140 152 {{{ 141 mkdir \projects\svn 142 svnadmin create \projects\svn\my-project 143 }}} 153 md c:\projects\svn 154 svnadmin create c:\projects\svn\my-project 155 }}} 156 157 This step causes Subversion to create a subdirectory (c:\projects\svn\my-project) containing the basics of a Subversion project. 144 158 145 159 === Initialize a new Trac project environment: === … … 148 162 149 163 {{{ 150 m kdirtrac164 md trac 151 165 \Python24\Scripts\trac-admin.py trac\my-project initenv 152 166 }}} … … 154 168 Follow the interactive prompts to input information about your project. If you are unsure what to put you can simply press "Enter" to accept the default value. 155 169 156 '''Subversion users:''' when asked for the "Path to repository" input the folder of the repository you just created: 170 {{{ 171 Project Name [My Project]> 172 173 Database connecting string [sqlite:db/trac.db]> 174 175 Repository type [svn]> 176 177 Path to repository [/path/to/repos]> 178 179 Template directory [C:\Python24\share\trac\templates]> 180 }}} 181 182 After this response, the script will say "Creating and Initializing Project". A large number of messages will scroll, finishing with "Congratulations!". 183 184 '''Note for Subversion users:''' when asked for the "Path to repository" input the folder of the repository you just created: 157 185 {{{ 158 186 Path to repository [/path/to/repos]> c:/projects/svn/my-project 159 187 }}} 160 188 161 Note:be sure to include the full path, including the drive letter.189 '''Note:''' be sure to include the full path, including the drive letter. 162 190 163 191 == Try it out == … … 170 198 }}} 171 199 172 Open your browser to http://localhost:8000 to test out your new Trac project. 173 174 Press Ctrl+Break to stop tracd 200 Open your browser to http://localhost:8000 to test out your new Trac project. You should see the title "Welcome to Trac 0.10" in your browser, and in the command window from which you just launched '''tracd''' there will be a series of status log messages. These messages will continue to update as you move around the Trac site. When you are done, return to the command window from which you launched tracd and press Ctrl+Break to stop tracd. 175 201 176 202 == Troubleshooting ==