Difference between revisions of "Website copy editing"

From diaspora* project wiki
Jump to: navigation, search
(JoinDiaspora.com)
Line 10: Line 10:
  
 
== JoinDiaspora.com ==
 
== JoinDiaspora.com ==
For changing the sidebar on joindiaspora.com, you first need to set up your diaspora development enviroment. This is kinda complicated, but there are [[Installing and Running Diaspora|decent docs here.]]
+
For changing the sidebar on joindiaspora.com, you first need to set up your diaspora development enviroment. This is kinda complicated, but there are [[Notes On Installing and Running Diaspora|decent docs here.]]
  
 
Note: You '''don't''' need nginx or apache, or the websocket server, or even redis and resque to debug front end styles. Once you can bundle, running 'bundle exec thin start' should give you a proper app server that will recompile the templates.
 
Note: You '''don't''' need nginx or apache, or the websocket server, or even redis and resque to debug front end styles. Once you can bundle, running 'bundle exec thin start' should give you a proper app server that will recompile the templates.

Revision as of 18:20, 23 October 2012


How to get things set up to copy edit the websites (diaspora-project.org and joindiaspora.com)

Diaspora-Project.org

The new Diaspora Project site is built using Drupal, a popular content management system that can be used to build a variety of websites. You can register on the project site here. A majority of the pages put together are a combination of fields on a node, and leverages Panels, Views, and Display Suite to optimize how they look.

The theme developed for the project site makes use of the Omega base theme, which turns the entire site into a responsive grid. This means the site will adjust to different screen sizes.


JoinDiaspora.com

For changing the sidebar on joindiaspora.com, you first need to set up your diaspora development enviroment. This is kinda complicated, but there are decent docs here.

Note: You don't need nginx or apache, or the websocket server, or even redis and resque to debug front end styles. Once you can bundle, running 'bundle exec thin start' should give you a proper app server that will recompile the templates.

The right sidebar is located in: app/views/shared/_right_sections.html.haml

This is a slightly more complicated file. The structure of the html is represented here, but all of the 'strings' are actually located in the translation file, which is found at config/locals/diaspora/en.yml. This is just a big hash so if you see keys seperated with '.', that is just a different namespace. ctrl-f is your friend. :) Feel free to hop in IRC if this file gets confusing, there are people there with rails translation background.

Once you are done, just add and push back to GitHub as described above, and you should be good to go.

For the first couple of times with joindiaspora.com you should fork the code and submit a pull request with the changes.