GithubHelp home page GithubHelp logo

sergii-bubalo / bsa-2017-bebeep Goto Github PK

View Code? Open in Web Editor NEW

This project forked from binarystudioacademy/bsa-2017-bebeep

0.0 1.0 0.0 5.48 MB

Binary Studio Academy 2017 PHP group project

Shell 0.11% PHP 99.42% ApacheConf 0.06% HTML 0.41%

bsa-2017-bebeep's Introduction

Build Status StyleCI

Getting started

Install the following packages prior to standing up your development environment:

For Windows OS:

  • You need to set the password for your user account, if you do not have one. During installation, Docker requests Sharing folders with the project, and for this you need to enter a password.
  • Also possible problems with the firewall. Temporarily disable or add the Docker to the exceptions.

Clone this repository to your favorite repository source directory and cd inside.

Then type:

cp .env.example .env
docker-compose up -d
docker-compose run --rm composer install
docker-compose exec web php artisan key:generate
docker-compose exec web php artisan migrate:install

For Windows OS - winpty docker-compose exec web php artisan <your command>

Frontend part (SPA)

If you are using Windows OS, first of all, install windows-build-tools for better compile of native Node modules:

npm install --global windows-build-tools

Install all javascript packages:

npm install

Compile all resources:

Development

npm run dev

... with the automatically recompile

npm run watch

Production

npm run prod

Done. Go to:

http://localhost

Usage

After installation to start your containers you have only type next command:

docker-compose up -d web

If you want to run composer command you should use it within docker:

docker-compose run --rm composer <your command>

In order to execute artisan command use next syntax:

docker-compose exec web php artisan <your command>

Running tests:

docker-compose run --rm tests

bsa-2017-bebeep's People

Contributors

ruig1992 avatar lenchv avatar sergey-ben avatar kaharlykskyi avatar komax93 avatar rhincodon avatar petroostapuk avatar tatsuukraine avatar marinakruglova avatar bebeep-ci avatar mykolaim avatar

Watchers

Sergii Bubalo 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.