diff --git a/README.md b/README.md index 74d418f..6a63d75 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,7 @@ Master Repo: https://git.4lt.ca/4lt/novaconium ```bash mkdir project_name; cd project_name; -mkdir -p App/controllers App/templates App/views public -touch App/controllers/404.php App/controllers/index.php App/views/index.html.twig public/index.php public/.htaccess App/routes.php - composer require 4lt/novaconium +cp -R vendor/4lt/novaconium/examples/App/ . +cp -R vendor/4lt/novaconium/examples/public/ . ``` diff --git a/examples/App/public/index.php b/examples/App/public/index.php deleted file mode 100644 index decf738..0000000 --- a/examples/App/public/index.php +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file diff --git a/examples/App/templates/override.html.twig b/examples/App/templates/override.html.twig new file mode 100644 index 0000000..edd7fd0 --- /dev/null +++ b/examples/App/templates/override.html.twig @@ -0,0 +1 @@ +{# Overrides go here #} \ No newline at end of file diff --git a/examples/App/public/.htaccess b/examples/public/.htaccess similarity index 65% rename from examples/App/public/.htaccess rename to examples/public/.htaccess index f6351db..13eafff 100644 --- a/examples/App/public/.htaccess +++ b/examples/public/.htaccess @@ -1,6 +1,4 @@ RewriteEngine On - RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d - -RewriteRule ^(.*)$ index.php?_uri=$1 [QSA,L] \ No newline at end of file +RewriteRule ^(.*)$ index.php?_uri=$1 [QSA,L] diff --git a/examples/public/index.php b/examples/public/index.php new file mode 100644 index 0000000..ece7160 --- /dev/null +++ b/examples/public/index.php @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/src/bootstrap.php b/src/novaconium.php similarity index 100% rename from src/bootstrap.php rename to src/novaconium.php