Skip to content

Instantly share code, notes, and snippets.

How to set up a website

Register a domain name

Any registrar will work. I use godaddy. Namecheap & namesecure are some alternatives.

Some registrars will also provide hosting & other services. It is okay to use these services, but for this step we will focus only on the core "registrar" services..

The registrar has two functions for us.

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "UABScreen" 0 0
#Screen "UABScreen"
#InputDevice "Keyboard0" "CoreKeyboard"
#InputDevice "SynapticsTouchpad" "CorePointer"
EndSection
Section "Screen"
Identifier "UABScreen"
=> Client modified -- refreshing
I20140913-19:02:13.768(-5)? Failed to receive keepalive! Exiting.
=> Exited with code: 1
Bundling Meteor App...
upgraded alanning:roles from version 1.2.13 to version 1.2.12
upgraded dburles:collection-helpers from version 1.0.0 to version 0.3.2
downloading mrt:q at version 1.0.1 ... done
downloading mrt:iron-router-progress at version 0.9.2 ... done
downloading percolatestudio:percolatestudio-mixpanel at version 0.5.0 ... done
downloading mrt:jquery-ui at version 1.9.2 ... done
downloading mrt:twit at version 0.2.0 ... done
downloading iron:dynamic-template at version 0.4.1 ... done
..-..---.-------..-...-....--...----.-..-.....-.---.-..-----.-....---------..-.-....--.--.---.-..--....-...---.--.--..----..-----...-.-.-.-.-..-.....-.-...-.-.---.--..-.----.-...-....-.---..---..-.------..---.-.--.--..-..--..-.-.--.-.--..---.--.-.---..---..---..-....-.----..----collected 279 in the last 10 seconds
---.-...-..---....-.-..-.-.--...-..-..-..-.......---....--.--...--..-...-.....-..--.--..------.---.....-.--.-.--.--.--.---..--.---......-...--..----.....----..-.-...----.-.--.--.-.----.-.-----.---...--..--...---..-----...--...-.------..--.--..----...----.---..-.--.-.--...-.--.----....--.--------.-.----.-..-..--.-.-.-..--.-...-..-.-.----.-.-..--.--.-....-.-.------.-..-.---..-..--.-...--..-..--..-..---..---..-.....----..----.----collected 431 in the last 10 seconds
-..----.-.-..--.--.-..----..---.....-.-...-.--.--.---..----.---...--.-----...--.---..-.-.--..--...----...--.---...-.------.----..----.---....-..-..---...---.-..-.....--------..--..---.--.--..-...--.----.---..--.---..--.--.--...--....-..--.-
registerBuilder "usernames", (screen_names) ->
selector = {}
if screen_names.length
selector =
'author.screen_name':
$in: screen_names
selector
/* file: server/data.js */
Meteor.publish("helptexts",function() {
return HelpTexts.find();
});
Meteor.publish("publishTest", function () {
return HelpTexts.find({_id: "help-demo"});
});
#!/bin/bash
curl https://install.meteor.com > ./install_meteor
sed -i'' -e 's/PREFIX=.*/PREFIX="$HOME"/g' ./install_meteor
chmod u+x ./install_meteor
./install_meteor
{
"packages": {
"iron-router": {},
"bootstrap-3": {},
"accounts-ui-bootstrap-3": {},
"collection-helpers": {},
"event-hooks": {
"git": "https://github.com/Differential/meteor-event-hooks"
},
"timeago": {},
@jhgaylor
jhgaylor / codeship_modulus_meteor_deploy.sh
Last active May 27, 2016 10:56
A script for deploying a meteor application to modulus.io using codeship.io for CI. Useful if your meteor app is not at the root of your repo.
#!/bin/sh
# assumes a clean install on a fresh linux box.
# for use w/ codeship.io
set -e
set -u
# a reference to the cloned repository's path
PWD=`pwd`
METEOR_APP_PATH="$PWD/MeteorApp"