Coder Social home page Coder Social logo

elfrontend / twig Goto Github PK

View Code? Open in Web Editor NEW

This project forked from knpuniversity/twig

0.0 1.0 0.0 1.54 MB

Screencast code, script and Twiggy goodness for "Twig Templating for Friendly Frontend Devs"

Home Page: https://knpuniversity.com/screencast/twig

CSS 0.17% PHP 90.97% HTML 8.87%

twig's Introduction

Twig for Frontend Friends!

Well hallo there! Inside this archive, you'll find 3 things:

  1. start - This is the start version of the code that's used in this screencast.

  2. finish - This is the finished version of the code that we build in this screencast. For more details on how to run the code, see the README.txt file in that directory.

  3. stubs - This directory contains a few files that we will use while building our project. For more details, see the README.txt file in that directory

And as always, thanks so much for your support and letting us do what we love!

<3 Your friends at KnpUniversity

How do I run the Project

Oh, so you want to code locally? Awesome! Let's assume you want to get the start code working locally:

  1. Download the code (since you're reading this, done!). You can download it anywhere on your system.

  2. Open up a terminal, and move into the start directory. For example, maybe on OSX, you might need to say:

cd ~/Downloads/knpuniversity-twig-xxxx/start
  1. Use PHP's built-in web server to run our app. So, run this from the terminal:
php -S localhost:8000
  1. Put http://localhost:8000/test.php in your browser. You should see the app!

Soon (in the first chapter), we'll make some changes, and you'll eventually change your URL to go to just http://localhost:8000.

twig's People

Contributors

weaverryan avatar leannapelham avatar bocharsky-bw avatar elfrontend 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.