Commit aa140fcf authored by ntdinh1987's avatar ntdinh1987

VNP Framework installer

parent bbd6171b
/vendor
.DS_Store
/.idea
composer.lock
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
{
"name": "laravel/installer",
"description": "Laravel application installer.",
"keywords": ["laravel"],
"name": "vatgia/installer",
"description": "CNP Framework application installer.",
"keywords": ["vnp", "vatgia"],
"license": "MIT",
"authors": [
{
"name": "Taylor Otwell",
"email": "taylorotwell@gmail.com"
"name": "Stephen Nguyễn",
"email": "ntdinh1987@gmail.com"
}
],
"autoload": {
"psr-4": {
"Laravel\\Installer\\Console\\": "src/"
"Vatgia\\Installer\\Console\\": "src/"
}
},
"require": {
......@@ -22,6 +22,6 @@
"symfony/process": "~2.3|~3.0"
},
"bin": [
"laravel"
"vnp-framework"
]
}
This diff is collapsed.
......@@ -7,7 +7,7 @@ if (file_exists(__DIR__.'/../../autoload.php')) {
require __DIR__.'/vendor/autoload.php';
}
$app = new Symfony\Component\Console\Application('Laravel Installer', '1.3.7');
$app->add(new Laravel\Installer\Console\NewCommand);
$app = new Symfony\Component\Console\Application('VNP Framework Installer', '1.0.0');
$app->add(new Vatgia\Installer\Console\NewCommand);
$app->run();
#!/usr/bin/env bash
wget https://github.com/laravel/laravel/archive/master.zip
unzip master.zip -d working
cd working/laravel-master
composer install
zip -ry ../../laravel-craft.zip .
cd ../..
mv laravel-craft.zip public/laravel-craft.zip
rm -rf working
rm master.zip
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment