Compare commits

...

16 Commits

Author SHA1 Message Date
KodeStar
3e4617e37d create .env if missing 2018-02-06 22:02:50 +00:00
KodeStar
2e06f1c153 try and remove reliance on .env 2018-02-06 21:28:56 +00:00
KodeStar
34cc2b6c2c Merge pull request #14 from linuxserver/add-license-1
Create LICENSE
2018-02-06 13:59:31 +00:00
KodeStar
a3a6b78a32 Create LICENSE 2018-02-06 13:58:54 +00:00
KodeStar
82540d7b7c Update readme.md 2018-02-06 11:19:16 +00:00
KodeStar
2376546c71 Delete README.md 2018-02-06 11:13:51 +00:00
KodeStar
40b80983aa Delete _config.yml 2018-02-06 11:13:41 +00:00
KodeStar
7a0cf5716c Update readme.md 2018-02-06 11:11:25 +00:00
KodeStar
88949c0885 Update README.md 2018-02-06 11:01:51 +00:00
KodeStar
831ab4a844 Update _config.yml 2018-02-06 10:58:58 +00:00
KodeStar
24e1559051 Update README.md 2018-02-06 10:58:30 +00:00
KodeStar
250ac1142d Update README.md 2018-02-06 10:55:26 +00:00
KodeStar
44e1c495c8 Set theme jekyll-theme-tactile 2018-02-06 10:51:45 +00:00
KodeStar
fea3eb2aa4 Set theme jekyll-theme-merlot 2018-02-06 10:50:30 +00:00
KodeStar
a38cb3284a Create README.md 2018-02-06 10:45:44 +00:00
KodeStar
0942850832 Set theme jekyll-theme-tactile 2018-02-06 10:14:43 +00:00
5 changed files with 42 additions and 6 deletions

21
LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2018 Chris Hunt
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

1
_config.yml Normal file
View File

@@ -0,0 +1 @@
theme: jekyll-theme-tactile

View File

@@ -18,16 +18,20 @@ class AppServiceProvider extends ServiceProvider
{
$alt_bg = '';
if(!is_file(database_path(env('DB_DATABASE')))) {
if(!is_file(base_path('.env'))) {
touch(base_path('.env'));
Artisan::call('key:generate');
}
if(!is_file(database_path('app.sqlite'))) {
// first time setup
touch(database_path(env('DB_DATABASE')));
touch(database_path('app.sqlite'));
Artisan::call('migrate', array('--path' => 'database/migrations', '--force' => true, '--seed' => true));
Artisan::call('storage:link');
//Cache
//Artisan::call('config:cache');
//Artisan::call('route:cache');
}
if(is_file(database_path(env('DB_DATABASE')))) {
if(is_file(database_path('app.sqlite'))) {
if(Schema::hasTable('settings')) {
if($bg_image = Setting::fetch('background_image')) {
$alt_bg = ' style="background-image: url('.asset('storage/'.$bg_image).')"';

View File

@@ -13,7 +13,7 @@ return [
|
*/
'default' => env('DB_CONNECTION', 'mysql'),
'default' => env('DB_CONNECTION', 'sqlite'),
/*
|--------------------------------------------------------------------------
@@ -36,7 +36,7 @@ return [
'sqlite' => [
'driver' => 'sqlite',
//'database' => env('DB_DATABASE', database_path('database.sqlite')),
'database' => database_path(env('DB_DATABASE')),
'database' => database_path(env('DB_DATABASE', 'app.sqlite')),
'prefix' => '',
],

View File

@@ -2,11 +2,21 @@
## About
An Application dashboard and launcher
Heimdall is a way to organise all those links to your most used web sites and web applications in a simple way.
Simplicity is the key to Heimdall.
Why not use it as your browser start page? It even has the ability to include a search bar using either Google, Bing or DuckDuckGo.
## Video
If you want to see a quick video of it in use, go to https://drive.google.com/file/d/1cijXgmjem_q2OfKMp36qVuXRiyOzvhWC/view
## Installing
Apart from the Laravel dependencies, namely PHP >= 7.0.0, OpenSSL PHP Extension, PDO PHP Extension, Mbstring PHP Extension, Tokenizer PHP Extension and XML PHP Extension, the only other thing Heimdall needs is sqlite support.
Installation is as simple as cloning the repository somewhere, or downloading and extracting the zip/tar and pointing your httpd document root to it. For simple testing you could just go to the folder and type `php artisan serve`
## Web Server Configuration
### Apache