Giter VIP home page Giter VIP logo

abrigham's Introduction

#abrigham.com Build Status Coverage Status This is the codebase that powers abrigham.com

##Table of Contents

Installation

To run this you must first have git and docker installed.

Clone the repo including the laradock submodule

git clone --recursive [email protected]:abrigham1/abrigham.git

Update your hosts file with the following entry

127.0.0.1 abrigham.test mlapi.abrigham.test

Once done navigate to the main directory in the command line and run the following commands.

# copy env files
make first/install

# bring up our docker containers
make docker-up

# install composer dependencies, npm dependencies, compile assets, generate encryption key
make local/dist
bin/dev/php artisan key:generate --ansi

Once docker has booted you should be able to access it locally by navigating to abrigham.test

Useful Commands

### Interacting with docker ###

# bring docker containers up
make docker-up

# bring docker containers down
make docker-down

# restart the containers
make docker-restart

# check the running containers
make docker-ps

# build the containers
make docker-build

# rebuild the containers and bring them back up
make docker-rebuild

# enter the workspace container
make workspace

### portal to run composer/php/npm commands in workspace container ###
bin/dev/composer
bin/dev/php
bin/dev/npm

# examples
bin/dev/php artisan test # docker-compose -f laradock/docker-compose.yml --project-directory laradock exec --user=laradock workspace php artisan test
bin/dev/npm install # docker-compose -f laradock/docker-compose.yml --project-directory laradock exec --user=laradock workspace bash -c "npm install"
bin/dev/composer update # docker-compose -f laradock/docker-compose.yml --project-directory laradock exec --user=laradock workspace bash -c "composer update"

abrigham's People

Contributors

abrigham1 avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

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