From 5561be3ebfcfd2b01983abf4e09d8e060f04de13 Mon Sep 17 00:00:00 2001 From: Fatih Alp Date: Sun, 21 May 2023 17:10:04 +0300 Subject: [PATCH] Cleaned & removed files from root directory --- Envoy.blade.php | 62 -------------------------------------------- INSTALL.md | 69 ------------------------------------------------- Procfile | 1 - SECURITY.md | 15 ----------- _config.yml | 1 - app.json | 20 -------------- build.xml | 46 --------------------------------- nginx_app.conf | 7 ----- 8 files changed, 221 deletions(-) delete mode 100644 Envoy.blade.php delete mode 100644 INSTALL.md delete mode 100644 Procfile delete mode 100644 SECURITY.md delete mode 100644 _config.yml delete mode 100644 app.json delete mode 100644 build.xml delete mode 100644 nginx_app.conf diff --git a/Envoy.blade.php b/Envoy.blade.php deleted file mode 100644 index be765124e..000000000 --- a/Envoy.blade.php +++ /dev/null @@ -1,62 +0,0 @@ -@servers(['web' => 'yoursite@50.59.80.150 -p 22400']) - -@task('update', ['on' => 'web']) -cd /home/yoursite -php /usr/bin/composer update -o --no-dev -php artisan migrate --all-addons --force -php artisan migrate --force -@endtask - -@task('pull', ['on' => 'web']) -cd /home/yoursite -git pull -@endtask - -@task('migrate', ['on' => 'web']) -cd /home/yoursite -php artisan migrate --all-addons --force -php artisan migrate --force -@endtask - -@task('compile', ['on' => 'web']) -cd /home/yoursite -php artisan streams:compile -@endtask - -@task('clear', ['on' => 'web']) -cd /home/yoursite -php artisan httpcache:clear -php artisan assets:clear -php artisan cache:clear -php artisan route:clear -php artisan view:clear -php artisan twig:clear -@endtask - -@task('install', ['on' => 'web']) -cd /home/yoursite -php artisan addon:install {{$addon}} -@endtask - -@task('uninstall', ['on' => 'web']) -cd /home/yoursite -php artisan addon:uninstall {{$addon}} -@endtask - -@task('reinstall', ['on' => 'web']) -cd /home/yoursite -php artisan addon:reinstall {{$addon}} -@endtask - -@macro('push') -pull -clear -migrate -@endmacro - -@macro('deploy') -push -update -compile -clear -@endmacro diff --git a/INSTALL.md b/INSTALL.md deleted file mode 100644 index 5b7819683..000000000 --- a/INSTALL.md +++ /dev/null @@ -1,69 +0,0 @@ -# Installation - -## Server Requirements - -- PHP >= 7.2 -- XML PHP Extension -- PDO PHP Extension -- cURL PHP Extension -- JSON PHP Extension -- Ctype PHP Extension -- BCMath PHP Extension -- SQLite PHP Extension -- OpenSSL PHP Extension -- Mbstring PHP Extension -- Fileinfo PHP Extension -- Tokenizer PHP Extension -- GD Library (>=2.0) **OR** Imagick PHP extension (>=6.5.7) - - -### Via Composer - -> Do not create an `.env` file just yet - Installer will generate one for you.{.important} - -```bash -composer create-project openclassify/openclassify -``` - -### Host Configuration - -When you setup your web host be sure to point the web root to `public` directory. Just as you would a normal Laravel installation. - -#### Alternate Directories for cPanel or Virtualmin - -In some environments like cPanel or Virtualmin it may be difficult to use the `public` directory as the web root. In these cases we suggest symlinking the `public` directory to `public_html`: - -```bash -ln -s public public_html -``` - -You may also simply rename the `public` directory to `public_html`. Path hints will automatically use the correct path. - -### Directory Permissions - -After installing, you may need to configure some permissions in order to proceed. Directories within the `storage`, `public/app`, and the `bootstrap/cache` directories should be writable by your web server. If you are using the [Homestead](http://laravel.com/docs/homestead) virtual machine, these permissions should already be set. - - -## Installing - -### Running the Installation Wizard - -After downloading and it's dependencies with: - -```bash -composer install -``` -you will need to install the software in order to get started. -By this time you should be able to visit your site's URL which will - redirect you to the installer: `http://yoursite.com/installer` - -### Using the CLI Installer - - -```bash -php artisan install - -``` - -You will be prompted for details in order to proceed with the installation process. - diff --git a/Procfile b/Procfile deleted file mode 100644 index 7892955c3..000000000 --- a/Procfile +++ /dev/null @@ -1 +0,0 @@ -web: INSTALLED=false php artisan streams:compile && INSTALLED=true bin/heroku-php-apache2 public/ diff --git a/SECURITY.md b/SECURITY.md deleted file mode 100644 index dde06e865..000000000 --- a/SECURITY.md +++ /dev/null @@ -1,15 +0,0 @@ -# Security Policy - -## Supported Versions - - - -| Version | Supported | -| ------- | ------------------ | -| 2.x | :x: | -| 1.x | :white_check_mark: | - -## Reporting a Vulnerability - - -If you discover any security related issues, please email info@openclassify.com instead of using the issue tracker. diff --git a/_config.yml b/_config.yml deleted file mode 100644 index c4192631f..000000000 --- a/_config.yml +++ /dev/null @@ -1 +0,0 @@ -theme: jekyll-theme-cayman \ No newline at end of file diff --git a/app.json b/app.json deleted file mode 100644 index 1945d327b..000000000 --- a/app.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "PyroCMS", - "description": "A barebones Pyro install.", - "repository": "https://github.com/pyrocms/pyrocms", - "logo": "https://pyrocms.com/files/vendors/logo-inverted_512@2x.jpg", - "keywords": [ - "pyrocms", - "laravel", - "cms", - "php" - ], - "addons": [ - { - "plan": "heroku-postgresql", - } - ], - "scripts": { - "postdeploy": "composer install" - } -} diff --git a/build.xml b/build.xml deleted file mode 100644 index 21584f383..000000000 --- a/build.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/nginx_app.conf b/nginx_app.conf deleted file mode 100644 index 4ab4e70c9..000000000 --- a/nginx_app.conf +++ /dev/null @@ -1,7 +0,0 @@ -location / { - try_files $uri @rewriteapp; -} - -location @rewriteapp { - rewrite ^(.*)$ /index.php$1 last; -}