##geek portland
Geek Portland 2.0 Based on the OpenSourcery's Turnip build Using OS_Event & OS_blog
- While sshed into the server, pull down the latest production database to the test server
drush sql-sync @geeklive @geektest
- Run
bin/deploy_to_test
- SSH into Dreamhost.
- Run
drush updb
To deploy to the development server:
- While sshed into the server, pull down the latest production database:
ssh geekportland
drush @geeklive sql-dump --result-file=production_current.sql --gzip
exit
scp geekportland:~/devgp/production_current.sql.gz db/production_current.sql.gz
ssh geekportland 'rm ~/devgp/production_current.sql.gz'
bin/install
- Run
bin/deploy_to_production
- SSH into Dreamhost.
- Run
drush updb
Note: The server has the aliases geeklive
and geektest
. So while still SSHed into the server you can run drush @geeklive uli
to use the root user.
Rendered entities should always conform to a given pattern:
- Full page: Display mode: 'Default'
- Search results or listings: Display mode: 'Teaser'
- Grouped search results (where each item is grouped by a header): Display mode: 'blurb'
- Rendered entity links: Display mode: 'Location link' (only applies to content with an address field).
Here is the list of what it means to sticky, based on content types, and what it means to promote to front page, for reference:
- Sticky: Will randomly show up on http://geekportland.com/geeks under "Featured GeekPages"
- Front page: Will randomly show up at http://geekportland.com/ under "Featured Geekpage"
- Sticky: Will put the blog post at the top of the list on http://geekportland.com/blog
- Front page: Will randomly show up at http://geekportland.com/ under "Featured GeekNews"
All other content types sticky has no current implementation.