Deploying your CC3D simulation as a nanoHub tool
Things you’ll need
Steps Overview
1. Fork template repository
https://github.com/JulianoGianlupi/cc3d-nanoHub-tool-maker
2. Clone forked repository to your local machine
3. Test tool_maker.py
4. Choose a short handle for your tool
(cannot be changed!)
5. Use tool_maker.py with the destination dir = forked repo dir
6. Commit and push all local repo changes
7. Make sure that the files in bin/ and middleware/ are executable
8. Go to NanoHub and get your tool started
https://nanohub.org/tools/create
9. Fill the form: Tool name == short handle; github repository; rapture
10. Make the landing page
11. “My code is committed, working, and ready to be installed “
12. Issue a ticket requesting an upgrade to Debian 10 environment.
“My tool, short-handle, needs to be upgraded to Debian 10 environment”
13. Wait a few days and test your tool
15. Give the go-ahead to make the tool live
Your tool gets a DOI!!
Fork template repository
1. Fork template repository
https://github.com/JulianoGianlupi/cc3d-nanoHub-tool-maker
Clone forked repository to your local machine
2. Clone forked repository to your local machine
Test tool_maker.py & choose a short handle
It asks for (in order)
/c/folderA/…/project-folder/
Project.cc3d
Simulation/
3. Test tool_maker.py
4. Choose a short handle for your tool
(cannot be changed!)
Use tool_maker.py with the destination
dir = forked-repo-dir
tool_maker.py asks for (in order)
/c/folderA/…/project-folder/
Project.cc3d
Simulation/
Let’s issue the creation command, e.g.:
python.exe tool_maker.py cc3dFppDemo D:\nanoHub\tools-by-TJ\nh-cc3d-fpp-demo D:\nanoHub\tools-by-TJ\FocalPointPlasticityDemo
4. Choose a short handle for your tool
(cannot be changed!)
5. Use tool_maker.py with the destination dir = forked repo dir
Commit and push all local repo changes
6. Commit and push all local repo changes
Commit and push all local repo changes
6. Commit and push all local repo changes
Commit and push all local repo changes
6. Commit and push all local repo changes
Commit and push all local repo changes
6. Commit and push all local repo changes
Getting the project online: everything needs a reason
6. Commit and push all local repo changes
Your project is online!
Make sure that the files in bin/ and middleware/ are executable
` git update-index --chmod=+x middleware/invoke`
` git update-index --chmod=+x bin/*.sh`
3. `git commit -m “run permission” `
4. `git push`
7. Make sure that the files in bin/ and middleware/ are executable
Go to NanoHub and get your tool started�https://nanohub.org/tools/create
8. Go to NanoHub and get your tool started
https://nanohub.org/tools/create
9. Fill the form: Tool name == short handle; github repository; rapture
Telling nanoHub how to find our project and how to display it
https://nanohub.org/tools/<short tool name>/status
8. Go to NanoHub and get your tool started
https://nanohub.org/tools/create
Describing your tool and final steps
10. Make the landing page
12. Issue a ticket requesting an upgrade to Debian 10 environment.
“My tool, short-handle, needs to be upgraded to Debian 10 environment”
11. “My code is committed, working, and ready to be installed “