diff --git a/crafting.js b/html/crafting.js similarity index 99% rename from crafting.js rename to html/crafting.js index 9eed17375..56cbe057d 100644 --- a/crafting.js +++ b/html/crafting.js @@ -9,7 +9,7 @@ function onPageLoad() { $("#recipe_load_button").click(onRecipeLoadButtonClicked); $("#crafting_selector").change(onCraftingSelectorChanged); - loadRecipes("vanilla.json"); + loadRecipes("data/vanilla.json"); } function onCraftingSelectorChanged() { diff --git a/vanilla.json b/html/data/vanilla.json similarity index 100% rename from vanilla.json rename to html/data/vanilla.json diff --git a/index.html b/html/index.html similarity index 100% rename from index.html rename to html/index.html diff --git a/httpd.conf b/httpd.conf new file mode 100644 index 000000000..aee56f5cc --- /dev/null +++ b/httpd.conf @@ -0,0 +1,16 @@ + + ServerName www.crafting-guide.com + ErrorLog logs/crafting-guide.com-error_log + CustomLog logs/crafting-guide.com-access_log common + + DocumentRoot /home/crafting-guide/repo/html + + AllowOverride None + + + + Options Indexes + Order allow,deny + Allow from all + + diff --git a/scripts/connect b/scripts/connect new file mode 100755 index 000000000..32e80c17c --- /dev/null +++ b/scripts/connect @@ -0,0 +1,3 @@ +#!/bin/bash + +ssh mountainbroadband@www.mountainbroadband.org diff --git a/scripts/deploy b/scripts/deploy new file mode 100755 index 000000000..4941db108 --- /dev/null +++ b/scripts/deploy @@ -0,0 +1,6 @@ +#!/bin/bash + +ssh mountainbroadband@www.mountainbroadband.org << EOF + cd repo + git pull +EOF