Code Monkey home page Code Monkey logo

sales's Introduction

SALES APP

Sell faster and smarter with the sales app

REQUIREMENTS

INSTALLATION

You can then install this project by forking the code or clone the repository down locally

git clone https://github.com/ale94lko/sales.git sales

Navigate to the source folder sales/ and run

composer install

Navigate to the frontend folder sales/site/ and run

npm install

CONFIGURATION

Database

Create a database sales manually. You can change the name and edit the file config/db.php if you are using another db connection, for example:

return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=localhost;dbname=sales',
    'username' => 'root',
    'password' => '1234',
    'charset' => 'utf8',
];

Run migrations. Stand in folder sales/ and run

php yii migrate

NOTES:

  • Yii won't create the database for you, this has to be done manually before you can access it.
  • Check and edit the other files in the config/ directory to customize your application as required.

Assets

Assets folder needs to be copy manually

Copy folder sales/site/node_modules/@salesforce-ux/design-system/assets/* to sales/site/src/assets/

STARTING WEB SERVER

Backend server

Stand in folder sales/ and run

php yii serve

Frontend server

Stand in folder sales/site and run

npm run serve

Now you are able to open the site in a browser

http://localhost:8081

sales's People

Contributors

ale94lko 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.