jimmyaldape / dockerizer Goto Github PK
View Code? Open in Web Editor NEWScaffolds a new project based on Laravel or Statamic and prepares project for development, adding support for Docker.
License: MIT License
Scaffolds a new project based on Laravel or Statamic and prepares project for development, adding support for Docker.
License: MIT License
Take advantage of node for running commands from the command line
Users should be able to still run
npm run start
from the command line
add docker support to project, scaffolding out required files and folders
It seems that once the laravel development environment is setup, the consequent npm scripts fail to remote into container.
I suggest changing the image used to build the containers. I also propose that naming the scripts called in package.json
be formalized to the intent purpose, e.g "npm run docker:on"
After cloning this project, user should be able to run npm run start
or yarn start
.
Is your feature request related to a problem? Please describe.
In addition to Laravel, Statamic is a great alternative framework
Describe the solution you'd like
I'd like to be able to pick an option from a prompt and let it do its thing. Laravel can still be the default.
Describe alternatives you've considered
Create a separate project altogether
Additional context
https://www.statamic.com
npm install
node .
throw new ERR_INVALID_CALLBACK(cb);
^
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received { recursive: true }
at makeCallback (fs.js:150:11)
at Object.rmdir (fs.js:682:14)
at Object.<anonymous> (/Users/jimmy/dev/temp/xyd/index.js:21:4)
at Module._compile (internal/modules/cjs/loader.js:868:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:879:10)
at Module.load (internal/modules/cjs/loader.js:731:32)
at Function.Module._load (internal/modules/cjs/loader.js:644:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:931:10)
at internal/main/run_main_module.js:17:11
Although the initial files and commands work correctly, they show up out of order on the command line.
Use the fs sync versions of functions:
fs.rmdirSync
fs.copyFileSync
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.