mortar devtools
One project to build them all, and in the darkness distribute and bind them to your devtools.
I'm in! How to?
git clone https://github.com/sole/mortar-devtools.git
cd mortar-devtools
node build.js
To upload to a server, ensure you have a config file with the proper settings in place. A sample config.local.json file is in place, you can use it as a base:
cp config.local.json config.json
Edit it to suit your needs and then you can run the script that automatically uploads things to the server:
node upload.js
Pending stuff
- Generate JSON for devtools
- Where does the data for each entry come from? title, description
- Each template folder?
- Where does the data for each entry come from? title, description
- Probably refactor common functions that will arise as more templates are added
- Things to test
- For each template in templates/ there must be a generated ZIP file
- Each ZIP must contain a valid project
- how can we say something is "a valid project"?
- It can be unzipped and has > 0 files
- MD5?
- how can we say something is "a valid project"?
- How do we get this into a public server?
- check in the dist files
- or make a task to upload to some FTP
- then also need the MD5