This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Odoglv1's profile picture

How to put OS on internet?

Started by Odoglv1, 08 December 2013 - 09:23 AM
Odoglv1 #1
Posted 08 December 2013 - 10:23 AM
How do I upload my OS to pastebin? I know pastebin put <filename>, but my OS is made of many different programs. do i upload those programs seperately or not??? HELP!!
apemanzilla #2
Posted 08 December 2013 - 10:48 AM
Step one: Make a pastebin account
Step two: Open your programs with an external text editor such as Notepad++
Step three: With your pastebin account, copy and paste all your programs into individual files.
Step four: Make a simple installer that downloads the file (See example below) and then runs the main program
Step five: Release the OS's installer.
Step six: To update, just edit the files on your pastebin.

Example installer:

shell.run("pastebin","get","PASTE-ID","FILENAME")
...
shell.run("MAIN-PROGRAM")
Replace anything in caps with whatever you need, and replace the "…" with more shell.run()'s for all your files.
biggest yikes #3
Posted 09 December 2013 - 08:11 PM
That's assuming you need to run ALL the files.
If that doesn't work, make 1 file to run that if nessessary will run the OTHER files, with shell.run("<prognamehere>")