Change dir structure for deployment
This commit is contained in:
@@ -9,7 +9,7 @@ function onPageLoad() {
|
||||
$("#recipe_load_button").click(onRecipeLoadButtonClicked);
|
||||
$("#crafting_selector").change(onCraftingSelectorChanged);
|
||||
|
||||
loadRecipes("vanilla.json");
|
||||
loadRecipes("data/vanilla.json");
|
||||
}
|
||||
|
||||
function onCraftingSelectorChanged() {
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
<VirtualHost *:80>
|
||||
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
|
||||
<Directory "/home/crafting-guide/repo/html">
|
||||
AllowOverride None
|
||||
</Directory>
|
||||
|
||||
<Directory "/home/crafting-guide/repo/html/private">
|
||||
Options Indexes
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
ssh [email protected]
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
ssh [email protected] << EOF
|
||||
cd repo
|
||||
git pull
|
||||
EOF
|
||||
Reference in New Issue
Block a user