Commit 73f8565f authored by Laura Kalbag's avatar Laura Kalbag

Add clean files with gitignore. Check out indie-style-core and...

Add clean files with gitignore. Check out indie-style-core and responsive-pixels into the right places
parent 0cbded73
/build
/node_modules
/.cache
/aws-keys.json
/source/summit/assets/videos
/source/about/summit/assets/videos
npm-debug.log
.DS_Store
/public
**.mov
**.mp4
**.ogv
**.webm
\ No newline at end of file
#!/usr/bin/env coffee
require('../boot.coffee')
\ No newline at end of file
######################################################################
#
# Ind.ie Builder bootstrap
#
# Copyright (c) 2014 Aral Balkan
# Released under the GNU GPLv3 license
# (https://www.gnu.org/licenses/gpl)
#
# Boots the site builder.
#
# (Basically a live-reload during development.)
#
######################################################################
spawn = require('child_process').spawn
path = require 'path'
Gaze = require('gaze').Gaze
builderProcess = null
restart = ->
builderProcess.kill()
boot = ->
#
# Launch the site, passing along any arguments that we may have
#
builderProcess = spawn('coffee', process.argv, {
cwd: process.cwd(),
stdio: 'inherit'
})
builderProcess.on 'error', (error) ->
console.log 'Error in Builder process: ' + error
# builderProcess.on 'close', (code, signal) ->
# console.log 'Builder process received close. Signal: ' + signal + '. Code: ' + code
builderProcess.on 'exit', (code, signal) ->
# Only exit if there’s a return code from the process
# (i.e., if user initiated or something went wrong, not
# if we’ve killed it.)
# console.log 'Builder process received exit. Signal: ' + signal + '. Code: ' + code
if code == 143
#
# Reboot
#
# console.log 'Rebooting'
boot()
else
#
# Exit
#
# console.log 'Exiting'
process.exit(code)
# Strip the original command and the script path from the arguments
# and calculate the path to the site.js script.
command = process.argv.shift()
scriptPath = process.argv.shift()
#
# Self-compile: compile the source with a watch
# to help streamline development.
#
pathToBuilderCoffee = path.normalize(path.dirname(scriptPath) + '/../builder.coffee')
# Add the site script to the arguments.
process.argv.unshift(pathToBuilderCoffee)
# Check our own source code so that the site can be restarted if
# the source changes. A little bit of magic to make development easier.
sourceWatcher = new Gaze 'builder/builder.coffee'
sourceWatcher.on 'error', (error) ->
console.log error
sourceWatcher.on 'changed', (filePath) ->
# console.log filePath
restart()
# sourceWatcher.on 'ready', (obj) ->
# console.log obj
# Let’s start up the site!
boot()
\ No newline at end of file
This diff is collapsed.
echo Please run the deploy command from within ./dev
./dev
\ No newline at end of file
./pulse > /dev/null &
builder/bin/boot
\ No newline at end of file
npm config set registry https://npm-proxy.fury.io/XNENtG1qsapqYWiw9zh5/indie/
npm config set strict-ssl true
npm config set ca ""
npm install -g grunt
npm install
touch aws-keys.json
echo '{"key":"", "secret": ""}' > aws-keys.json
echo 'Remember to update aws-key.json with your actual keys if you want to deploy.'
git submodule init
git submodule update
cd source/assets/stylus/indie-style-core/
git submodule init
git submodule update
echo 'Done. Project installed for development.'
echo './dev to start the dev server.'
\ No newline at end of file
<RoutingRules>
<RoutingRule>
<Condition>
<KeyPrefixEquals>technology</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>about/manifesto/</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>tech</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>manifesto</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>labs</KeyPrefixEquals>
</Condition>
<Redirect>
<HostName>labs.ind.ie</HostName>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>set</KeyPrefixEquals>
</Condition>
<Redirect>
<HostName>set.labs.ind.ie</HostName>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>team</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>about</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>contact</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>about/contact</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>manifesto</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>about/manifesto</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>summit/</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>about/summit/</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>blog/</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>about/blog/</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>phone/news/</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>about/blog/</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>phone/newsletter/</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>about/blog/</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>privacy</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>about/privacy</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>phone/contact</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>about/contact</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>phone/crowdfunding</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>launch</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>phone/thunderclap</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>launch</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
</Condition>
<Redirect>
<HostName>ind.ie</HostName>
<ReplaceKeyWith>404/</ReplaceKeyWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>swift</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>phoenix</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>crowdfunding</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>launch</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
<RoutingRule>
<Condition>
<KeyPrefixEquals>blog/</KeyPrefixEquals>
</Condition>
<Redirect>
<ReplaceKeyPrefixWith>about/blog/</ReplaceKeyPrefixWith>
</Redirect>
</RoutingRule>
</RoutingRules>
{
"name": "ind-ie",
"version": "0.0.167",
"description": "ind.ie website",
"main": "index.html",
"scripts": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git@source.indiephone.eu:andy/ind-ie.git"
},
"author": "Andrew Smith, Laura Kalbag, Aral Balkan",
"license": "MIT",
"dependencies": {
"accord": "^0.12.0",
"bluebird": "^2.3.11",
"chalk": "^0.5.1",
"coffee-script": "^1.8.0",
"commander": "^2.5.0",
"connect-livereload": "^0.5.2",
"console-progress": "git://github.com/visionmedia/node-progress.git",
"express": "^4.10.5",
"express-livereload": "0.0.24",
"fs-extra": "^0.13.0",
"gaze": "^0.6.4",
"gift": "^0.5.0",
"glob": "^4.3.1",
"imagemin": "^3.1.0",
"marked": "^0.3.2",
"moment": "^2.8.4",
"node-kit": "^0.8.0",
"path-extra": "^0.3.0",
"progress": "^1.1.8",
"pwuid": "^1.0.1",
"rsync": "^0.3.0",
"slug": "^0.8.0",
"stylus": "^0.49.3",
"swig": "^1.4.2",
"tidy-prompt": "0.0.2"
}
}
File added
<!DOCTYPE html>
<html lang="en">
<head>
<!-- $title:Ind.ie — Page not found -->
<!-- @import '../assets/includes/head.kit' -->
<link rel='stylesheet' type='text/css' href='css/style.css'>
<script src='/assets/js/moment.min.js'></script>
</head>
<body class='home'>
<!-- @import '../assets/includes/nav.kit' -->
<div class='main'>
<h1 class='long-title'>Page not found.</h1>
<p class='error-description'>That page isn't here. Maybe the navigation above can help you find your way.</p>
<!-- @import '../assets/includes/footer-call-to-action.kit' -->
<!-- @import '../assets/includes/footer.kit' -->
</div>
</body>
</html>
/* This is where we pull in all our stylus partials to compile a full stylesheet */
/* The core must go first, as it has the CSS reset and other base rules */
/* Tell the core where to find its images and fonts */
$font-path = '../../assets/stylus/indie-style-core/fonts/'
$image-path = '../../assets/stylus/indie-style-core/images/'
/* Tell the core where to find itself (absolute path) */
@import '../../assets/stylus/indie-style-core/_core'
/* apparently if you have the path for the first @import, it'll automatically find all the others */
@import '../../assets/stylus/_footer'
@import _layout
@import _navigation
@import _newsletter-signup
@import _sub-navigation
\ No newline at end of file
<!DOCTYPE html>
<html lang='en'>
<head>
<!-- $title:Ind.ie Blog — Ind.ie Newsletter #1 -->
<!-- @import '../../../assets/includes/head.kit' -->
<link rel='stylesheet' type='text/css' href='css/style.css'>
</head>
<body class='blog article'>
<header class='site-header'>
<!-- @import '../../../assets/includes/nav.kit' -->
<!-- @import '../../includes/nav.kit' -->
</header>
<div class='main h-entry'>
<h1 class='p-name'>Indie Newsletter #1</h1>
<p class='post-date dt-published' datetime="2013-12-06 16:00:00">Sent on Friday, 6 December, 2013.</p>
<div class='e-content'>
<img class='indie-logo' src='images/indie-logo-full.png' alt='indie — Empowering Humans'>
<p>We launched Indie Phone, Indie OS, and Indie Cloud last week at Handheld Conference in Cardiff in front of an audience of over a thousand designers and developers.</p>