Question

Is it possible to use Spaces in existing project?

Posted October 25, 2021 113 views
Ruby on RailsRubyDevelopmentDigitalOcean Spaces

I have existing Rails project and want to use Spaces. I worrying about existing files uploaded on the server. Please suggest any solutions?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hello,

Yes, there are no restrictions, you can use spaces with an existing project. You just need to plan the change first.

For example, if you want to copy your existing files to the Space, you could use a tool like Cyberduck or s3cmd or Transmit to copy the files over.

For more information, you could take a look at the documentation here on how to use one of those tools:

https://docs.digitalocean.com/products/spaces/resources/cyberduck/

Once the files have been copied over to the Space, you could proceed with your implementation.

I as a suggestion, make sure to always take a backup of your server, before making large changes to your code base, that way if anything goes wrong, you could always revert back.

Best,
Bobby