0
My question is the following, I am trying to upload an FTP site in Dreamhost, but I do not know which is the root folder, I also did not locate the public_html folder...
0
My question is the following, I am trying to upload an FTP site in Dreamhost, but I do not know which is the root folder, I also did not locate the public_html folder...
0
The "public" folder should be used to serve the application’s static files, in which case it is necessary to set the STATIC_ROOT and MEDIA_ROT in folders inside the public, and the STATIC_URL and MEDIA_URL considering the path from the public.
Settings/dreamhost.py
STATIC_ROOT = os.path.join(HOME_DIR, 'exemplo.com', 'public', 'static')
STATIC_URL = '/static/'
MEDIA_ROOT = os.path.join(HOME_DIR, 'exemplo.com', 'public', 'media')
MEDIA_URL = '/media/'
As above, these folders will be in /home/user/example/example.com/public/Static and /public/media, but their URL is only /Static and /media.
Browser other questions tagged ftp sftp
You are not signed in. Login or sign up in order to post.
the case is that I only have access to FTP... to accessing the folders by filezzila... when soon, it takes me to the folder HOME/ site name Inside the folder SITE NAME, has 3 folders( .cache - logs - Maidir ) and some arsuivos . BASH
– Clayton