Git Product home page Git Product logo

report-noconnected's Introduction

Helpers to get up me/report

Create the base for the website and see it work.

composer create-project symfony/skeleton me/report

cp example/symfony/.htaccess me/report/public/

dbwebb publishpure report

Try it locally.

php -S localhost:8888 -t public

Prepare the installation as a website.

cd me/report
composer require annotations twig webapp

Add a controller with the routes.

# From me/report
cp ../../example/symfony/LuckyControllerTwig.php src/Controller/ReportController.php

cp ../../example/symfony/lucky_number.html.twig templates/about.html.twig
cp ../../example/symfony/lucky_number.html.twig templates/home.html.twig
cp ../../example/symfony/lucky_number.html.twig templates/report.html.twig

Twig extensions

Twig Extensions Defined by Symfony

<link rel="stylesheet" href="css/style.css"/>

<li><a href="{{ url("home") }}">Home</a></li>
<li><a href="{{ path("about") }}">About</a></li>

<p><a href="{{ absolute_url("img/mos.png") }}">View the image</p>

Favicon

wget https://dbwebb.se/favicon.ico -O public/favicon.ico
<link rel="icon" href="favicon.ico">

Markdown

markdown_to_html

composer require twig/markdown-extra league/commonmark
{% apply markdown_to_html %}
Report
======

This is the reports from each kmom.
{% endapply %}


{{ include('report/kmom01.markdown.twig')|markdown_to_html }}

Git

With docker

docker-compose run php81 composer create-project symfony/skeleton me/report

cp example/symfony/docker-compose.yaml me/report/ cd me/report docker-compose run php81 composer require annotations twig webapp twig/markdown-extra league/commonmark

report-noconnected's People

Contributors

fridavbg avatar

Watchers

 avatar

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.