Code Monkey home page Code Monkey logo

invoicesales's Introduction

InvoiceSales

A simple Symfony app for creating, listing, editing, viewing (as pdf) and email invoices.

For running this application. Follow these steps :

  • Install PHP 5.6+
  • Install MySQL (The easiest way is to install WAMP, LAMP or XAMPP server)
  • Download wkhtmltopdf from here
  • Download and global install composer
  • Create a Database in MySQL and name it as InvoiceSales
  • Download the application and extract it.
  • Navigate to InvoiceSales-master folder open app/config/config.yml in any text editor. Search #KnpSnappyBundle Configuration and add installation path of wkhtmltopdf to binary
  • Navigate to InvoiceSales-master folder and open command prompt or terminal.
  • Run composer install
  • Run php app/console doctrine:schema:update --force

Configuring Email

  • Open app/config/config.yml and navigate to Swiftmailer Configuration

      swiftmailer:
          transport: gmail
          username:  user_name
          password:  password
    
  • Replace user_name with you gmail username and your_password with your gmail password.

  • For other mail server configuration there is some additional configuration which can be checked from symfony documentation online.

Finally run php app/console server:run from the root_dir of project i.e. InvoiceSales and open localhost:8000 in browser to start the app.

Note : Tested in Chrome 60, this application won't run in IE due to its limited support of ES6, if you want to run this application in IE, convert ES6 code (/src/Sales/SalesBundle/Resources/public/js/scripts.js) to ES5 here and paste it into scripts.js file. Run php app/console assets:install to reflect changes.

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.