heroku

MERN Stack push to heroku: ! [remote rejected] master -> master (pre-receive hook declined)

巧了我就是萌 提交于 2019-12-25 20:03:06
问题 Side note: I've used this same method for deployment about 3 times and now all of the sudden it's not working... Makes me think that something just updated with heroku??? IDK Trying to push my MERN Stack application to heroku but I'm getting an error, here is my package.json file: { "name": "jordanwebsite", "version": "1.0.0", "description": "", "main": "server.js", "scripts": { "start": "node server.js", "server": "nodemon server.js", "test": "echo \"Error: no test specified\" && exit 1",

“Could not find 'bundler' (2.0.1) required by your Gemfile.lock” while deploying to Heroku

断了今生、忘了曾经 提交于 2019-12-25 19:37:39
问题 I am trying to deploy a simple Rails app to Heroku but keep getting several errors. I have searched the error remote: ! Could not detect rake tasks with little success so far. Here is the full build log: Counting objects: 209, done. Compressing objects: 100% (188/188), done. Writing objects: 100% (209/209), 771.35 KiB | 10.71 MiB/s, done. Total 209 (delta 58), reused 0 (delta 0) remote: Compressing source files... done. remote: Building source: remote: remote: ! Warning: Multiple default

Heroku one request spawns two responses that crashes my app

亡梦爱人 提交于 2019-12-25 18:36:32
问题 In my Heroku Django app, for the user account registration flow, there is a typical request activate account that happens when the user receives an email with a special "activate" URL. In the app, this activation should happen only once. The only identifier on that URL is an activation token. The token is used to "activate" the account, and also to identify the user (retrieve his username from the DB). Once this token is used, it is deleted. For that reason, activation must happen only once.

Why do I get “error: failed to push some refs” when pushing to Heroku?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-25 16:55:51
问题 I want to upload my new app to Heroku, but I'm facing some problems. At first, the problem was SQLite, so I deleted the sqlite line in my Gemfile . Another problem is that when I write in console the command git push heroku , I see this error: error: failed to push some refs. Gemfile source 'https://rubygems.org' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '4.0.0' group :production do gem 'pg' gem 'rails_12factor' end # Use SCSS for stylesheets gem 'sass-rails

Issue with the installation of gem 'pg' in Heroku - Rails

ε祈祈猫儿з 提交于 2019-12-25 16:44:21
问题 I'm trying to install ruby on rails on OSX for heroku, for which I used this tutorial. It seemed to install fine on the terminal, but after doing $rails new myapp --database=postgresql cd myapp I did this rails generate controller welcome and got an error: Could not find gem 'spring (>= 0) ruby' in the gems available on this machine. Run bundle install to install missing gems. And after following the instructions, I got 'An error occurred while installing pg (0.17.1), and Bundler cannot

not able to push the app to heroku

元气小坏坏 提交于 2019-12-25 16:25:10
问题 I am trying to put my app to heroku but I am getting an issue. remote: Sass::SyntaxError: Undefined variable: "$fa-css-prefix". I am using font-awesome-rails . I am doing git push staging master after following all the steps properly. Edit: variables.less @fa-font-path: "/assets/font-awesome/fonts"; //fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts"; // for referencing Bootstrap CDN font files directly @fa-css-prefix: "fa"; @fa-version: "4.2.0"; @fa-border-color: #eee; @fa

not able to push the app to heroku

十年热恋 提交于 2019-12-25 16:24:58
问题 I am trying to put my app to heroku but I am getting an issue. remote: Sass::SyntaxError: Undefined variable: "$fa-css-prefix". I am using font-awesome-rails . I am doing git push staging master after following all the steps properly. Edit: variables.less @fa-font-path: "/assets/font-awesome/fonts"; //fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts"; // for referencing Bootstrap CDN font files directly @fa-css-prefix: "fa"; @fa-version: "4.2.0"; @fa-border-color: #eee; @fa

Neither Pillow nor PIL could be imported: No module named Image

℡╲_俬逩灬. 提交于 2019-12-25 16:22:30
问题 I am trying to use PIL/Pillow in my django app, running in virtualenv, for eventual deployment to Heroku. Steps I have done: started virtualenv (source venv/bin/activate) pip install pillow Output: clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard- error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the future error: command 'cc' failed with exit status 1 otherwise, there were a lot of copied files: e.g. copying

Heroku: Background Tasks in Python with RQ

≯℡__Kan透↙ 提交于 2019-12-25 14:42:32
问题 I am trying to set a background task for my Django app with Heroku. I am following the steps explained in the Heroku documentation. However, I got stuck already at the very beginning. I have installed RQ successfully: pip install rq I created the worker.py file, containing exactly the same code as in the documentation. But then, when I try to run: python worker.py I get the following error: Traceback (most recent call last): File "/Users/MyUser/my_app/lib/python3.5/site-packages/redis

Heroku: Background Tasks in Python with RQ

倾然丶 夕夏残阳落幕 提交于 2019-12-25 14:42:12
问题 I am trying to set a background task for my Django app with Heroku. I am following the steps explained in the Heroku documentation. However, I got stuck already at the very beginning. I have installed RQ successfully: pip install rq I created the worker.py file, containing exactly the same code as in the documentation. But then, when I try to run: python worker.py I get the following error: Traceback (most recent call last): File "/Users/MyUser/my_app/lib/python3.5/site-packages/redis