Giter VIP home page Giter VIP logo

ipsenh's Introduction

Portfolio

pipeline status

A portfolio.

Development

This section contains instructions for Developers who work on this project.

Setup

We use laravel, so make sure you have that installed. See https://laravel.com/docs/5.7.

Now you can setup the .env file and generate a key to secure your sessions.

mv .env.example .env
php artisan key:generate

Link the storage using:

php artisan storage:link

The dependencies can be created with:

composer install
npm install

Then compile the sass/css and js files using:

npm run dev

Then setup your database using:

php artisan migrate --seed

Running

You can serve the application from the public/ folder with your server of choice. Or use:

php artisan serve

Compiling sass/css and js changes

The sass, css, and js files are compiled and copied to the public folder using Laravel Mix as defined in webpack.mix.js. To avoid having to manually recompile this for every change, you can open a new terminal and run

npm run watch

This will continue to listen to changes to any of the affected files and recompile when changes are made.

Testing locally

You can run the backend (PHP) tests using:

composer test

If you want to run the frontend (VueJS) test you can use:

npm run test

Linting

To manually lint use:

npm run lint

If you want ESLint to automatically fix some issues you can run:

Warning: this may mess up some of the indentation

npm run lint-fix

ipsenh's People

Contributors

haitamattar avatar

Watchers

 avatar Tommy 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.