Initial Home page

Arno Kaimbacher 2020-06-22 16:08:33 +02:00
commit 09b5a6d900

63
Home.md Normal file

@ -0,0 +1,63 @@
**TETHYS** - Data Publisher for Geoscience Austria is a digital data library and a data publisher for earth system science. Data can be georeferenced in time (date/time) and space (latitude, longitude, depth/height).
## Resources
* [Tutorials](Tutorials)
# Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
## Installation
Please check the official laravel installation guide for server requirements before you start. [Official Documentation](https://laravel.com/docs/6.x/installation#installation)
Clone the repository
git clone git@github.com:geolba/tethys.git
Switch to the repo folder
cd tethys-app
Install all the dependencies using composer
composer install --optimize-autoloader --no-dev
Copy the example env file and make the required configuration changes in the .env file
cp .env.example .env
Generate a new application key
php artisan key:generate
Run the database migrations (**Set the database connection in .env before migrating**)
php artisan migrate
Grant folder permissions for webserver user
sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache
Start the local development server
php artisan serve
## Local Development
Browsers enforce strict security permissions to prevent you from reading files out of the local file system. To develop locally, you must run a local web server rather than using file://…. Nodes [http-server](https://www.npmjs.com/package/http-server) is recommended. To install:
```
npm install -g http-server
```
To run:
```
http-server &
```
This will start the server on <http://localhost:8080> from the current working directory.