I've created an django project on heroku which can send emails using sendgrid, this app worked as a charm. I created this app to study a bit about how sendgrid, django and heroku works together.
Using the same heroku account, I've created another project after this first project,
which would be definitive, and in this project I change the sender email many times, but it is my emails with a custom domain. Unfortunately I had my heroku/sendgrid (I don't have a sendgrid account, I only needed heroku to install sendgrid:starter addon in my project) account banned. When I try to install sendgrid addon in a project which I've deployed, this message is returned(in this case, I am using a custom domain to my email: victor.s.silva#unesp.br):
› Warning: heroku update available from 7.42.4 to 7.42.6.
Creating sendgrid:starter on ⬢ myproject... !
▸ An error was encountered when contacting the add-on partner to create
▸ sendgrid:starter. Please try again later.
#sometimes this message inform that I have my sendgrid account banned.
When I try to install this addon in a deployed project in another account(#gmail.com), I get this message:
▸ The account "victor.santos.cd#gmail.com" is not permitted to install the
▸ sendgrid add-on at this time. Your account may require additional
▸ verification. Please visit
▸ https://tools.heroku.support/addons-verification to complete this process.
The page crashs when I send my cell number.
I have no idea what I have to do to solve this. As I have a free heroku account, I can't create a ticket, once I haven't sendgrid addon installed in my project. So, I need some help to reactive my sendgrid permission.
Thank you so much.
Related
i have deployed my Django portfolio using nginx server.but now i want a feature in which i make changes to my Github repo and then it will get automatic deployed to my nginx server.
how can i do this?.
thankyou
Read more about Jenkins this will help you to pull code from the Github webhook and deploy it automatically, you just have to push code on Github. You just have to install it on the server and set up everything.
you can use cicd but recently it is requiered to validate account with credit cart... if you dont have a card can use git hook for auto deployment
I am trying to deploy a webapp to Azure. I am following these directions https://azure.microsoft.com/en-us/documentation/articles/web-sites-python-create-deploy-django-app/
First step, I created a webapp (Django) on the portal.
Then it says to follow the directions to configure Continuous deployment using GIT in Azure App Service. This should apparently lead to my having a local directory of Django files. https://azure.microsoft.com/en-us/documentation/articles/web-sites-publish-source-control/
So I follow those directions, installing Git, creating a local repository, adding a webpage, enabling web app repository, deploying.
The webportal now shows that I have deployed ('active' deployment). However, when I go to the web app url, what's showing is NOT what I deployed, but rather what I guess is the default Django app with its urls (login, logout, contacts).
So then I create an actual Django app in my local directory (instead of the static index.html from the directions). I commit and push it to Azure. It shows as being deployed.
The result is the same as before: the default web app is showing.
So what I'm missing is the connection between my local repository and what's actually showing. Is there some way to pull the Azure default app into my local repository? (Once it's there, I'll be able to change it as I see fit.)
Things are working as expected, but you ended up overwriting the Django app in your first the Git commit. The Continuous Deployment instructions as written are generic to any deployment, even a blank Web App.
So what I'm missing is the connection between my local repository and what's actually showing. Is there some way to pull the Azure default app into my local repository? (Once it's there, I'll be able to change it as I see fit.)
All you need to do is git clone your repo after you've initialized your local Git repo on the Azure Web App. You've already gone through most of these steps, but I'll include them here for others who may be looking for this answer.
After you create the Django Web App from the Azure Marketplace/Gallery, scroll down to set up continuous deployment.
Choose Local Git repo.
Notice that you now have a Git Clone URL in both your Quickstart Essentials info and under All Settings >> Properties. Go ahead and copy this URL.
If you haven't already done so, you may need to set or reset your Deployment Credentials. You'll find this under All Settings. This will be your Git & FTP credentials. Note that this is actually the credentials for your Microsoft Account, not just this one Web App.
You already have Git installed from your first attempt. You should now be able to navigate to the folder you want to clone the repo into and run:
git clone <your_git_clone_url>
After you type in your password, you'll have a cloned repo of the Django Web App on your local system. cd into the directory and start working from there. Once you have changes, git add ., git commit, and git push them back to the repo in Azure to see your changes there.
I am new to almost everything web development related. I am using Aptana studio 3 on a Mac and have built a very basic app using Django that works as expected on the Django development server provided with Django. I now want to try out publishing it to a 'real' server. I found out that Aptana has some integration with Heroku and so decided to try and publish there.
On the app explorer in Aptana I am locating my django project (named 'mysite') on the dropdown and then clicking the publish button to run the 'Web Deployment Wizard'. After selecting that I want to publish on Heroku and filling in the details of my Heroku account I click finish. A terminal window opens at the bottom with the command:
heroku create mysite; git push heroku master
I then get:
Authentication failure
Enter your Heroku credentials.
Email:
If I enter my login details, it says 'Authentication success' but then immediately follows with another authentication failure. This repeats indefinitely.
Any ideas what is going wrong?
i am trying to deploy spring application on cloudfoundry.but as a build war file of project using mvn package command.after that i used vmc push --appname target(directory)
i finished all the steps that need to push on cloudfoundry.
finally i got message uploading application-name....ok
then i entered command vmc apps
then it shows all my pushed applications....
there was url(http://cloudapp-project-master.cloudfoundry.com/) for my deployed application.
which i copied and placed in browser then it giving me 404 Not Found nginx
i don't know where is the problem....
Please help me to get out of this.
advanced thanks....
Can you look at the logs folder to see if the files there give more information.
vmc logs <app-name>
or
vmc files <app-name> logs/stderr.log
vmc files <app-name> logs/stdout.log
What is the status of the app when you run vmc apps? I would recommend you to file a ticket at http://support.cloudfoundry.com with detailed information about the issue and maybe share the project so that they can reproduce the issue easily. You will need the account registered in cf.com to be able to login.
I am trying to integrate gitosis-plugin with redmine. I used http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way to install gitosis on the server. The gitosis works fine and I was able to use the created repositories for projects inside redmine.
As for installing gitosis-plugin I followed http://www.redmine.org/plugins/redmine_gitosis. I can still ssh to the server, and in the "My account" tab I can add public_keys, but when I try to create a new project I receive an error to contact the redmine admin. I looked at the production-log for redmine, and this was the error for creating a new project:
Errno::ENOENT (No such file or directory - /tmp/redmine-gitosis-1329706601/gitosis/gitosis.conf):
I looked in the folder and realized the files were not created. None of the solutions helped me so far. has anyone else faced this problem, or found a solution?