- JavaScript 97%
- Handlebars 2.2%
- HTML 0.5%
- CSS 0.2%
- Sass 0.1%
| app | ||
| config | ||
| public | ||
| styles | ||
| test | ||
| .bowerrc | ||
| .editorconfig | ||
| .gitignore | ||
| app.js | ||
| app.sh | ||
| bower.json | ||
| changelog.md | ||
| Gruntfile.js | ||
| package.json | ||
| Procfile | ||
| readme.md | ||
| worker.js | ||
| worker.sh | ||
Automagicly
Automate everything
Execute complex workflows that help you get thing done
by James Peret
Automagicly is a online automation system designed for executing complex workflows composed of tasks. The system uses a queu server for registering tasks and a serverless architecture using AWS Lambda for executing these tasks.
View the changelog for information on current releases.
Running
To start the server run node app.js and node worker.js in different windows. You can start multiple workers to get automatic parallel processing and scale the app.
Alternatively, you can create a systemd service and use the app.sh and worker.sh files. Make sure to change the path to your node instalation. To find out where node is installed on your system, run which node.
Creating new tasks
To create a new task, update and create the following files:
- Create a definition in
app/helpers/task_helpers.jsfor starting, stoping and executing the new task. - Create a new job file in
app/jobs. - Update
worker.jswith a pointer to the new task. - Update the new task page in the UI, adding the new task:
public/js/workflow_app/views/pages/new_task.html. - Update the new task controller with info for the new task in
public/js/workflow_app/controllers/new_task_ctrl.js - Update
public/js/workflow_app/workflow_app.jswith information for the new route - Create a new sidebar view for the task in
public/js/workflow_app/views/sidebar/. - Create a new controller for the task in
public/js/workflow_app/controllers/. - Update the function
taskClickin ````public/js/workflow_app/services/fluxogram_service.js```. - Add a link in the workflow layoud view for the new sidebar controller file in
/app/views/layouts/workflow.handlebars