Giter Club home page Giter Club logo

museodio's Introduction

Museodio

How to setup development environment

Firstly, clone the project using the method of your choice. Then, you need to copy .env.example to .env and modify it accordingly to your setup.

cp .env.example .env

Next, update the dependencies :

composer update

In order for the map to work, the publishment of a package is required. Please enter the following command :

php artisan vendor:publish --tag=public --force

Next step is to create the database. To do so, please type :

php artisan migrate

This step is optional but recommended, it allows to seed the tables with random values.

php artisan db:seed

You need then to install Passport, which will create clients for token generation

php artisan passport:install

At last serve the project

php artisan serve

Normally, you should be able to see your project at http://yourURL/public/

Generate documentation

php artisan apidoc:generate

The documentation generation requires a lot of parametrization such as the parameters to be send along with the request. This parametrization can be done in config/apidoc.php.

The documentation is in ressources/docs/source/index.md.

Small notes

To publish a package from Composer in order to access it via a public link, add this code to app/Providers/AppServiceProvider in the boot() function

$this->publishes([
  'vendor/leaflet' => public_path('vendor/leaflet'),
], 'public');

More documentation

Wiki

museodio's People

Contributors

dependabot[bot] avatar jonasfreibur avatar roxanecarraux avatar zegorax avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

museodio's Issues

CI : Continuous Deployment

The goal is to deploy the application in a production environment automatically. This will be done using GitHub Actions and containers provided by the HE-Arc.

UI : Page avec la carte

Interface et téléchargement des pins depuis la base de donnée, puis affichage sur la carte à l'aide de pin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.