commit 09b5a6d900ecf469ca927c8ebfeef9baf748ad2a Author: Arno Kaimbacher <32480389+kaiarn@users.noreply.github.com> Date: Mon Jun 22 16:08:33 2020 +0200 Initial Home page diff --git a/Home.md b/Home.md new file mode 100644 index 0000000..7e5827b --- /dev/null +++ b/Home.md @@ -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://…. Node’s [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 from the current working directory. \ No newline at end of file