mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Cleaned & removed files from root directory
This commit is contained in:
parent
f0279bb883
commit
5561be3ebf
@ -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
|
||||
69
INSTALL.md
69
INSTALL.md
@ -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.
|
||||
|
||||
1
Procfile
1
Procfile
@ -1 +0,0 @@
|
||||
web: INSTALLED=false php artisan streams:compile && INSTALLED=true bin/heroku-php-apache2 public/
|
||||
15
SECURITY.md
15
SECURITY.md
@ -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.
|
||||
@ -1 +0,0 @@
|
||||
theme: jekyll-theme-cayman
|
||||
20
app.json
20
app.json
@ -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"
|
||||
}
|
||||
}
|
||||
46
build.xml
46
build.xml
@ -1,46 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project name="Streams" default="dist">
|
||||
|
||||
<!-- ============================================ -->
|
||||
<!-- Target: prepare -->
|
||||
<!-- ============================================ -->
|
||||
<target name="prepare">
|
||||
|
||||
<echo msg="Deleting directory ./build"/>
|
||||
<delete dir="build"/>
|
||||
|
||||
<echo msg="Making directory ./build"/>
|
||||
<mkdir dir="./build"/>
|
||||
</target>
|
||||
|
||||
<!-- ============================================ -->
|
||||
<!-- Target: build -->
|
||||
<!-- ============================================ -->
|
||||
<target name="build" depends="prepare">
|
||||
<echo msg="Copying files to build directory..."/>
|
||||
|
||||
<echo msg="Copying ./ to ./build directory..."/>
|
||||
<copy todir="./build">
|
||||
<fileset dir="./">
|
||||
<include name="**"/>
|
||||
<exclude name=".git/"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ============================================ -->
|
||||
<!-- (DEFAULT) Target: dist -->
|
||||
<!-- ============================================ -->
|
||||
<target name="dist" depends="build">
|
||||
<echo msg="Creating archive..."/>
|
||||
|
||||
<tar destfile="./build/build.tar.gz" compression="gzip">
|
||||
<fileset dir="./build">
|
||||
<include name="*"/>
|
||||
</fileset>
|
||||
</tar>
|
||||
|
||||
<echo msg="Files copied and compressed in build directory OK!"/>
|
||||
</target>
|
||||
</project>
|
||||
@ -1,7 +0,0 @@
|
||||
location / {
|
||||
try_files $uri @rewriteapp;
|
||||
}
|
||||
|
||||
location @rewriteapp {
|
||||
rewrite ^(.*)$ /index.php$1 last;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user