Difference between revisions of "Newbie Guide for Windows People Working on Minor Bugs"

From Dreamwidth Notes
Redirect page
Jump to: navigation, search
(Set Up Your Dreamhack)
 
(278 intermediate revisions by 4 users not shown)
Line 1: Line 1:
To Wikify: [http://experiment.dreamwidth.org/9596.html http://experiment.dreamwidth.org/9596.html]
+
#REDIRECT [[Newbie_Guide:_Getting_Started_on_Windows]]
 
+
= Installing and Settings Things Up =
+
 
+
You'll only have to do this once.
+
 
+
 
+
== Get a Dreamhack ==
+
 
+
What's a Dreamhack? To put it simply, it's a mirror of the Dreamwidth site where you can test your changes.
+
 
+
#Apply for a Dreamhack by [http://hack.dreamwidth.net/apply.shtml filling this form].
+
#Get [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html PuTTY] - choose the 'Windows installer for everything except PuTTYtel' .exe file - and install it.
+
#Run PuTTY. In the configuration window, enter "hack.dreamwidth.net" for the host name. Go to Connection/Data and enter the username/login given to you in the welcome e-mail. It should be something like dh-xxx. You may also want to change the Window/Appearance, Window/Colours and Window/Selection settings. Once you're done, go back to Session. Select Default Settings and click on Save.
+
#Click on Open. Click Yes on the pop-up message box.
+
#Enter the password given to you in the welcome e-mail when asked. Note that no characters are displayed and the cursor won't move. It's normal.
+
#Change your password by typing: <source lang="bash">passwd</source>
+
#On your Dreamhack, the default user is called 'system'. You need to set its password so you can access this account. Type: <source lang="bash">$LJHOME/bin/upgrading/make_system.pl</source>
+
#Once you're done type: <source lang="bash">start-apache</source>
+
#You can access your Dreamhack at [http://yourusername.hack.dreamwidth.net/ http://yourusername.hack.dreamwidth.net/] and log in as system. You may want to upgrade your account to a paid one by [http://www.ninetydegrees.hack.dreamwidth.net/admin/capedit going here].
+
 
+
== Install WinSCP ==
+
 
+
What for? WinSCP will allow you to see and manage the files of your Dreamhack. You'll use it to edit the theme/layout files.
+
 
+
#Install [http://winscp.net/eng/download.php WinSCP]. I chose the Explorer mode because I don't need to access any files on my computer but choose what's best for you.
+
#Use "hack.dreamwidth.net" for the host name. Enter your username and password. Click on Save then on Login.
+
 
+
 
+
== Set Up Your Dreamhack ==
+
 
+
Again?! Yes, you need to create some files that will make keeping your Dreamhack up-to-date easier.
+
 
+
#Follow the steps outlined at [[Dreamhack_getting_started#Back_up_your_configs|Back Up Your Configs]]. N.B. To create files, go to WinSCP, go to the right directory, right-click on New/File and edit.
+
#Also create the dwu, dws and dwdb scripts as explained in [[Dev_Maintenance#Scripting|Scripting]].
+
#In PuTTY, type this then Enter:
+
<source lang="bash">cd $LJHOME/cvs/dw-free
+
hg qinit -c</source>
+
 
+
This will create a directory where your patches will be put into: <code>~/dw/csv/dw-free/.hg/patches/</code>
+
 
+
Do the same thing with dw-nonfree if you're working with non-free styles:
+
 
+
<source lang="bash">cd $LJHOME/cvs/dw-nonfree
+
hg qinit -c</source>
+
 
+
The directory will be: <code>~/dw/csv/dw-nonfree/.hg/patches/</code>
+
 
+
== Create a Bugzilla account ==
+
 
+
[http://bugs.dwscoalition.org/createaccount.cgi Click here] :)
+
 
+
 
+
[[Category:Styles Development]]
+

Latest revision as of 16:20, 13 March 2013