eodo
eodo is an implementation of the stepify paradigm it accompanies textually and graphically the declarative generation of computational artifacts
eodo from to what how
eg: node eodo ./eolib/eorial . eoparse --doc
Immediate objectives are:
- automatic creation and deployment of the eons site
- automatic creation and deployment of gatsby eosites to netlify
- tender accompaniment of jason's tutorials
Create new apps using eodo eodoes
eodo creates the package.json and the file system that may include starter and packages
How to use
eodo is available via github and may be used by
git clone git@github.com:sifbuilder/eodo.git
cd eodo
npm install
node eodo
to list in-module eodoes
eodo is available via npm and may be installed globally by running
npm install -g eodo
to use it locally.
eodo
for a list of in-module eodoes
eodo <eodir> <eodoes>
for full help on the specific eodoes
Additional configuration
Documentary steps of site creation may go along with views of the site as it evolves
npm install puppeteer
to install puppeteer if not yet installed
Events
Tag | Description | Default |
---|---|---|
clear |
remove definition files | `` |
unspace |
remove eon container, requires --doit | `` |
eodev |
launch develop server | `` |
eoyarn |
fill dependencies | `` |
eoparse |
process eoparces and launch microevents | `` |
eoset |
create folding fundamentals | `` |
eogit |
create git repo | `` |
publish |
publish eon site to npm | `` |
eohub |
git push | `` |
uncode |
remove packages | `` |
eoparse
eodo where eodoes eoparse
will install the package.json and file system as defined in the eodoes' eoparse__parcel to --view the process, puppeteer must be available and there must be a dev server running
eoyarn
eodo where eodoes eoyarn
to install parceled site
eohub relies on yarn that must be locally in the path
eogit
eodo where eodoes eogit
to create local git repo
eohub relies on git that must be locally in the path
eohub
eodo where eodoes eohub
to push repot to github
eohub relies on curl that must be locally in the path
eodev
eodo where eodoes develop
to start the development server in the where
location
netify
eodo where eodoes netify
to deliver the site to netlify
publish
eodo where eodoes publish
to publish the package to npm
Flags
Flag | Description | Default |
---|---|---|
-a , --author |
package.author and git push user | thisauthor |
-c , --gitmsg |
Message into git commit | init_git |
-d , --descr |
Set site description | thisdescr |
-e , --eon |
Nane of the site being created | thiseon |
-f , --folder |
Alternative to eodir par | `` |
-k , --microkey |
Filter microevent | `` |
-l , --license |
License to go into package.license | GPL-3.0 |
-m , --email |
none |
|
-p , --pwdgit |
Passwork into git push | thispwd |
-v , --version |
Version in package.version | 0.0.1 |
-x , --eodoes |
Alternative to eodoes par | thiseodoes |
Tags
Tag | Description | Default |
---|---|---|
--eodebug |
Show debug messages in eodo and lib muons | false |
--eotrace |
Trace parameters in eodo and lib muons | false |
--eodoc |
Show doc messages in eoparse and life events | false |
--eoview |
View life events in brower from develop server | false |
Requires puppeteer installed and dev server running | `` |
Pars
Par | Description | Default |
---|---|---|
eodir |
First unhyphened param passed to eodo | `` |
eodoes |
Second unhyphened param passed to eodo | `` |
Microevents
Tag | Description | |
---|---|---|
__eobreak |
interrupt eoparcel processing | `` |
__eoconfig |
build gatsbz config | `` |
__eodelay |
delay event | `` |
__eodoc |
show doc messages | `` |
__eoexec |
excec local command (tbd) | `` |
__eofetch |
fetch item from cdn (tbd) | `` |
__eofiles |
copy or create files | `` |
__eofolders |
copy or create files | `` |
__eoignore |
ignore microevent | `` |
__eolog |
trace parcel | `` |
__eounzip |
unzip tar | `` |
__eoview |
show image in browser with puppeteer | `` |
Examples
From the eodo folder, eodo will create the eodir ../eosites/folder
- Inside the eodir, it will create package.json, gatsby.config, gatsby.node and src
- Will install the dependencies as per package.json
- Will create the local git repo
- Will create the orine repo in github
- Will launch the develop server
- Will publish the site to netlify
node eodo ./eolib/eorial ../eosites --eon eorial eoparse --doc
node eodo ./eolib/eorial ../eosites --eon eorial eoyarn --trace
node eodo ./eolib/eorial ../eosites --eon eorial -a sifbuilder eogit
node eodo ./eolib/eorial ../eosites --eon eorial -a sifbuilder -p {{pwd}}} eohub
node eodo ./eolib/eorial ../eosites --eon eorial eodev
node eodo ./eolib/eorial ../eosites --eon eorial -a sifbuilder -p {{pwd}}} netify
Installing eodo locally
npx eodo ../eosites eorial --eon eorial eoparse --doc --trace
Specifying an eodoes as an uri
npx eodo ../eosites https://raw.githubusercontent.com/sifbuilder/eodo/master/eolib/eorial.js --eon eorial eoparse --doc --trace
Create win portable env
node eodo ../eosistes: ./eolib/eospace --eon e eoparse --doc