To get to local_settings.py
Enter the server
Something like this:
ssh -i ~/.ssh/tendenciglobal ubuntu@dockers2.tendenci.net
Then:
sudo su
docker-enter www.siteurl.com
cd /opt/webapps/orgs/tendenci_site/conf
ls
export TERM=xterm
nano local_settings.py
Look for the following under DEBUG settings
SENTRY_DSN = ""
if SENTRY_DSN:
INSTALLED_APPS += ('raven.contrib.django',)
Paste the value of DNS (include https://) inbetween the ' ' into DNS ""
Control X to Exit
Y to save
Enter
3. Restart your application (in the container, run commands: sv stop tendenci_site, sv kill tendenci_site then sv start tendenci_site)
3a. OR type "exit" <enter> to exit the container. Then type:
docker stop www.cleancosystems.com && docker start www.cleancosystems.com
4. Test your configuration by specifically raising an error with this url https://<your domain>/base/exception-test/. Then go to sentry console to check if the errors has been logged https://sentry.tendenci.net/tendenci/<your project>/
That's it!
- See more at: https://www.tendenci.com/help-files/set-sentry-t6-site/#sthash.UvhzVDcw.dpufTo get to local_settings.py
Enter the server
Something like this:
ssh -i ~/.ssh/tendenciglobal ubuntu@dockers2.tendenci.net
Then:
sudo su
docker-enter www.siteurl.com
cd /opt/webapps/orgs/tendenci_site/conf
ls
export TERM=xterm
nano local_settings.py
Look for the following under DEBUG settings
SENTRY_DSN = ""
if SENTRY_DSN:
INSTALLED_APPS += ('raven.contrib.django',)
Paste the value of DNS (include https://) inbetween the ' ' into DNS ""
Control X to Exit
Y to save
Enter
3. Restart your application (in the container, run commands: sv stop tendenci_site, sv kill tendenci_site then sv start tendenci_site)
3a. OR type "exit" <enter> to exit the container. Then type:
docker stop www.cleancosystems.com && docker start www.cleancosystems.com
4. Test your configuration by specifically raising an error with this url https://<your domain>/base/exception-test/. Then go to sentry console to check if the errors has been logged https://sentry.tendenci.net/tendenci/<your project>/
That's it!
- See more at: https://www.tendenci.com/help-files/set-sentry-t6-site/#sthash.UvhzVDcw.dpuf
To get to local_settings.py
Enter the server
Something like this:
ssh -i ~/.ssh/tendenciglobal ubuntu@dockers2.tendenci.net
Then:
sudo su
docker-enter www.siteurl.com
cd /opt/webapps/orgs/tendenci_site/conf
ls
export TERM=xterm
nano local_settings.py
Look for the following under DEBUG settings
SENTRY_DSN = ""
if SENTRY_DSN:
INSTALLED_APPS += ('raven.contrib.django',)
Paste the value of DNS (include https://) inbetween the ' ' into DNS ""
Control X to Exit
Y to save
Enter
3. Restart your application (in the container, run commands: sv stop tendenci_site, sv kill tendenci_site then sv start tendenci_site)
3a. OR type "exit" <enter> to exit the container. Then type:
docker stop www.cleancosystems.com && docker start www.cleancosystems.com
4. Test your configuration by specifically raising an error with this url https://<your domain>/base/exception-test/. Then go to sentry console to check if the errors has been logged https://sentry.tendenci.net/tendenci/<your project>/
That's it!
- See more at: https://www.tendenci.com/help-files/set-sentry-t6-site/#sthash.UvhzVDcw.dpuf
In order for the wysiwyg editor to show fonts specific to your site while editing, you need to add a path to your css file to the local_settings.py file on the site
To get to local_settings.py
Enter the server
Something like this:
ssh -i ~/.ssh/tendenciglobal ubuntu@dockers2.tendenci.net
Then:
sudo su
docker-enter www.siteurl.com
cd /opt/webapps/orgs/tendenci_site/conf
ls
export TERM=xterm
nano local_settings.py
Paste in the below replacing the path /themes/tendenci2012/media/css/styles.css with the path to your css file.
TINYMCE_DEFAULT_CONFIG = get_setting('TINYMCE_DEFAULT_CONFIG')
TINYMCE_DEFAULT_CONFIG['content_css'] = '/themes/tendenci2012/media/css/styles.css'
Control X to Exit
Y to save
Enter
Restart your application
(in the container, run commands:
sv stop tendenci_site,
sv kill tendenci_site then
sv start tendenci_site)
OR type "exit" <enter> to exit the container. Then type:
docker stop www.cleancosystems.com && docker start www.cleancosystems.com
That's it!