atrauzzi / laravel-drydock Goto Github PK
View Code? Open in Web Editor NEWA premade, easy to use local development setup to be used for authoring Laravel applications
A premade, easy to use local development setup to be used for authoring Laravel applications
'cause things have changed.
Just cuz.
I was thinking that if someone wanted to use this base project, but not necessarily spin up the environment, it would be nice to have Laravel run in a pure-php mode. That is: Zero dependencies on external servers, etc...
Ideally this would be when the project is run without a .env
file or any of it's environment variables specified.
'cause wouldn't that be sweet?
'cause it's gettin' crazy in here.
I would like to create a script that is called ripcord.sh
that essentially does all the install steps in one go.
Reason: New users can run a single command that gets their environment up and running.
ie:
#!/bin/bash
./run composer install (you will likely encounter github's rate limit)
./run artisan migrate (although the demo doesn't rely on any models)
./run npm install
./run jspm install
docker-compose up
'cause damn it takes forever
...to do string substitutions and be used during build commands.
organizational/project:tag
)Would be sweet if it could intercept mail addresses locally somehow and then have a web interface for it... That's a bit big, but useful.
Debug your commands, queues and crons!
When starting up the container (using both docker-compose up
and sudo docker-compose up
) I get an error for the laravel-worker
as follows:
laravel-worker | /usr/local/bin/artisan: line 3: /var/www/artisan: Permission denied
laravel-webapp | [03-Feb-2016 20:30:36] NOTICE: fpm is running, pid 1
laravel-webapp | [03-Feb-2016 20:30:36] NOTICE: ready to handle connections
laravel-webapp | [03-Feb-2016 20:30:36] NOTICE: systemd monitor interval set to 10000ms
laravel-worker exited with code 126
I think this is preventing it from running the composer install step, so I don't get anything hosted at localhost:8080, however I do see the access logs showing up in the console window.
This is running in an xubuntu 15.10 desktop VM on Windows 7 64 bit Virtualbox 5.0.14 host
Worth going through and auditing functions that are notorious for bad things.
Stuff like string-based file functions: http://php.net/manual/en/ref.filesystem.php
Likely others.
'cause things have changed.
Do all of this: http://seld.be/notes/new-composer-patterns
Needs to work on all platforms.
Don't forget to nice-ify any object storage.
After cloning the repo and spinning up the containers the worker container has an error and wlll not load.
ERROR: for ccdc-worker Cannot start service worker: oci runtime error: container_linux.go:265: starting container process caused "exec: "artisan": exCreating ccdc-cron ... done
ERROR: for worker Cannot start service worker: oci runtime error: container_linux.go:265: starting container process caused "exec: "artisan": executable file not found in $PATH"
https://github.com/phpstan/phpstan
This looks cool!
That way files write as who we want!
Don't forget to de-pluralize the table name in queue.php
.
This will be used to produce production-ready containers.
Be sure to put some kind of comment inside of it indicating that one is better served by not building in their local dev checkout as deps get clobbered.
It's just static localhost
, should grab the proper L5 hostname.
This is a thing.
Ubuntu is great and all, but huge images are huge.
./run: line 9: -e: command not found ./run: line 10: -u: command not found
...'cause that's just sillllllyyyy!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.