= How to Use Dropbox to Test Install Scripts = [wiki:HowTo/WriteInstallScript Writing install scripts] often requires repeated cycles of testing and modification to get the tarball just right. While any public webserver can be used to host the install scripts, not everyone has access to one that can easily be used for development. As an alternative to a standard webserver, here's how to use Dropbox to test your install script. == Requirements == * You must have a [https://www.dropbox.com Dropbox] account in order for this to work. * You can test install scripts with any tool using this method. * You can not use a Dropbox '''url''' to reference an RSpec in Flack using this method. (However you can use the load from a ''file'' feature with Flack.) == Instructions == 1. [https://www.dropbox.com Install Dropbox] for your system. 1. Place the tarball in your Dropbox folder on your local system. a. Alternatively, place the relevant files in your Dropbox folder and then tar them up using the following command: {{{ tar -czvf file.tar.gz FILE1 FILE2 DIR1 DIR2 DIR3 }}} 1. [https://www.dropbox.com/help/167 Share a link] to the tarball (e.g. `file.tar.gz` in the example above). See the [https://www.dropbox.com/help/167 instructions for your OS]. 1. Create or modify your RSpec to point to the URL for the shared link. ''Drop the `dl=0` off the end of the URL before using it in your RSpec.'' 1. Test your RSpec using the tool of your choice. ''Remember you can NOT use a shared URL for your RSpec with Flack.''