Report this

What is the reason for this report?

Where should I place my project folder?

Posted on January 30, 2019

I have an existing application in a git repository. I used to have a droplet with the previous version of the one click rails app (rails 5.0.1) and a default app was placed in /project , but in this new version of the one click rails app droplet, I don’t know where to put it.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hello,

This will usually depend from the project itself.

A lot of web-servers like Apache will come with structure for the virtual host like /var/www/your_domain where the project files will go. This is considered the root directory of your site/application.

Then in the domain folder you can have the projects files like css, JavaScript, config files, includes and etc.

Regards

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.