Giter Club home page Giter Club logo

dxlab-mainstreet's Introduction

NOTE

Site migrate to new server late Jan 2018 - new server is NGINX so .htaccess files don't work Also note sim links need to be created in:

/srv/www/wp.dxlab.sl.nsw.gov.au/shared/experiments/mainstreet/web/bundles

they are:

framework -> ../../vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/public/ sensiodistribution -> ../../vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/public/ sldataharvest -> ../../src/SL/DataHarvestBundle/Resources/public/

and /srv/www/wp.dxlab.sl.nsw.gov.au/shared/experiments/mainstreet/bin

they are:

doctrine -> ../vendor/doctrine/orm/bin/doctrine doctrine.php -> ../vendor/doctrine/orm/bin/doctrine.php security-checker -> ../vendor/sensiolabs/security-checker/security-checker

To avoid some issues with non-https access of SLNSW images from the ACMS site we copied the images onto the server and updated the XML file SLNSWMainStreets.xml which lives in /srv/www/wp.dxlab.sl.nsw.gov.au/shared/experiments/mainstreet/web/bundles/sldataharvest/xml to have relative paths to the local images instead of URLs to the ACMS site.

The images live in a folder called acms which lives in /srv/www/wp.dxlab.sl.nsw.gov.au/shared/experiments/mainstreet/web

The site only seems to work with this URL: dxlab.sl.nsw.gov.au/mainstreet/web/app.php rather than the dxlab.sl.nsw.gov.au/mainstreet/ or dxlab.sl.nsw.gov.au/mainstreet/web/ So we also two index.php files in those location which re-direct to dxlab.sl.nsw.gov.au/mainstreet/web/app.php

Lastly the lack of .htaccess files seems to stop some ajax calls to Trove from working meaning the tags that normally appear in the middle of the page do not show up. This seems to be because URLs of this form do not work:

https://dxlab.sl.nsw.gov.au/mainstreet/web/app.php/filter_tags/1887?callback=window.jsonpCallbacks.callback2&_=1517452960459

Not sure how to fix this right now.

More notes (Feb 2018):

Replaced insecure JS src on server here: app/cache/prod/twig/5/8/586bec3f45187935752d6b384cf0b9c07b1c3703e7aac9728c799f37f34b5350.php This file is not in the repo as it is generated. However this is the template file: src/SL/DataHarvestBundle/Resources/views/Default/base.html.twig, which has been updated.

Symfony Standard Edition

Welcome to the Symfony Standard Edition - a fully-functional Symfony2 application that you can use as the skeleton for your new applications.

For details on how to download and get started with Symfony, see the Installation chapter of the Symfony Documentation.

What's inside?

The Symfony Standard Edition is configured with the following defaults:

  • An AppBundle you can use to start coding;

  • Twig as the only configured template engine;

  • Doctrine ORM/DBAL;

  • Swiftmailer;

  • Annotations enabled for everything.

It comes pre-configured with the following bundles:

  • FrameworkBundle - The core Symfony framework bundle

  • SensioFrameworkExtraBundle - Adds several enhancements, including template and routing annotation capability

  • DoctrineBundle - Adds support for the Doctrine ORM

  • TwigBundle - Adds support for the Twig templating engine

  • SecurityBundle - Adds security by integrating Symfony's security component

  • SwiftmailerBundle - Adds support for Swiftmailer, a library for sending emails

  • MonologBundle - Adds support for Monolog, a logging library

  • AsseticBundle - Adds support for Assetic, an asset processing library

  • WebProfilerBundle (in dev/test env) - Adds profiling functionality and the web debug toolbar

  • SensioDistributionBundle (in dev/test env) - Adds functionality for configuring and working with Symfony distributions

  • SensioGeneratorBundle (in dev/test env) - Adds code generation capabilities

  • DebugBundle (in dev/test env) - Adds Debug and VarDumper component integration

All libraries and bundles included in the Symfony Standard Edition are released under the MIT or BSD license.

Enjoy!

dxlab-mainstreet's People

Contributors

akeinhell avatar apmolsa avatar irazasyed avatar kenmortimerdx avatar luke-slnsw avatar ruthmm avatar stefangabos avatar unkleho avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

senuamedia ruthmm

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.