Click here to Skip to main content
15,887,135 members
Everything / Heroku

Heroku

Heroku

Great Reads

by Afzaal Ahmad Zeeshan, Iqra Ali
Develop questionnaire site with Node.js, SQLite and Pug
by dileep
Build Using NPM and Git

Latest Articles

by Afzaal Ahmad Zeeshan, Iqra Ali
Develop questionnaire site with Node.js, SQLite and Pug
by dileep
Build Using NPM and Git

All Articles

Sort by Score

Heroku 

13 Nov 2017 by Afzaal Ahmad Zeeshan, Iqra Ali
Develop questionnaire site with Node.js, SQLite and Pug
7 Jan 2022 by Ebuoe
I just hosted my flask app for the first time online, everything seems to be working fine so far except for the sessions, which are not persistent. I have tested the app severally on my local server using the inbuilt flask and gunicorn server ....
14 Feb 2014 by Ahsan98
I created an app on heroku (ahsansarena.herokuapp.com).....This app was created using git when i used heroku create it gave me an address of rocky-plains-3318 but i needed a different address so i renames my app through heroku.com but after this the url in git remained the same....Now whenever i...
3 Aug 2016 by baotdinh
Hi guys,As i know, heroku dyno will be restarted once a day. In my application, .txt file usually is updated. How can i keep it after dyno restared ?Thanks.What I have tried:right now , i tried to save it by sending email. But i have to update it after restarting.
3 Aug 2016 by Afzaal Ahmad Zeeshan
Why don't you persist the file in a local file storage, right on the server itself. When the service restarts, it removes content from temporary memory only. The files on the disk are not removed. So that is why I would recommend save that text file on the primary disk itself. Secondly, also...
5 Oct 2016 by dileep
Build Using NPM and Git
31 Aug 2017 by Patrice T
Quote: i want the if statement to run n times then return me true or false. Use a 'for' loop just like you did for user input. I don't know what you try to do but in this line of code, if (s[i]==n[i+p%c]) every time i+p%c is more than 4, you are outside of array n. Use the debugger to see...
4 Apr 2018 by dolfijn3000
so i made a small discord bot with node.js and used sqlite in it. i deployed it and it worked. but if i update my bot the whole database get reset becous the old database file overides it. how cna i prevent this from happening ? What I have tried: searching the internet. but id did not find...
4 Apr 2018 by Christiaan van Bergen
The devcenter.heroku.com says[^]: SQLite runs in memory, and backs up its data store in files on disk. While this strategy works well for development, Heroku’s Cedar stack has an ephemeral filesystem. You can write to it, and you can read from it, but the contents will be cleared periodically....
5 Apr 2018 by dolfijn3000
so im making a dscord bot and i used sqlite, but becous emy host (heroku) i could no use that. thay said i needed to use postgres so i did im updating my code to use but i cant get it to work for creating my table i use this code client.query('CREATE TABLE users(name text, money bigint);',...
5 Apr 2018 by Jochen Arndt
When using placeholders as in your SELECT command you have to pass the values as array (enclosed by square brackets): client.query('SELECT * FROM users WHERE name = ?', [id], (err, row) => { [EDIT] Quote: now i get an syntax error The result object returned in row is an array of row objects....
6 Jun 2020 by OriginalGriff
Talk to the people who created it: If necessary raise an issue on the project: Issues · soatok/headless-lounge-bot · GitHub[^] as either the project of it's documentation needs revising. We can't help you with this: it needs in depth knowledge...
30 Apr 2021 by Edward Danho C
ERROR: Could not find a version that satisfies the requirement cloud-init==20.2 (from -r /tmp/build_bd2124f1/requirements.txt (line 8)) (from versions: none) remote:Quote: ERROR: No matching distribution found for cloud-init==20.2 (from -r...
30 Apr 2021 by OriginalGriff
Please don't repost if your question does not appear immediately: all of these went to moderation and required a human being to review them for publication. In order to prevent you being kicked off as a spammer, both had to be accepted, and then...
30 Apr 2021 by OriginalGriff
Please don't repost if your question does not appear immediately: all of these went to moderation and required a human being to review them for publication. In order to prevent you being kicked off as a spammer, both had to be accepted, and then...
30 Apr 2021 by Edward Danho C
oops my question deleted. dont know why
7 Jun 2021 by Roh Jos
So what I have is I'm using nodejs/express for website. I am also using another javascript module called spacy-js. To make spacy-js work, I have to run a python file in the spacy module like "python node_modules/spacy/api/server.py" in 1 terminal...
10 Jun 2021 by Richard Deeming
Don't try to use the IP address or the MAC address. The public IP address will be shared by multiple users. The local IP address is meaningless beyond the user's local network, and will be duplicated on other local networks. Instead, store a...
27 Jul 2021 by Marchan4
My ruby ​​version is 2.6.6, my mysql version is 8.0.23, my mysql2 version is 0.5.3, my bundler version is 2.2.21, my rails version is 5.0.7.2, and my Xcode version is 12.5. I use macOS Big Sur(version 11.4) and the text editor "Atom". I'm...
27 Jul 2021 by Richard MacCutchan
$ export SECRET_KEY_BASE=GENERATED_CODE What is the $ sign in column 1 supposed to be for?
2 Nov 2021 by Moe Abraham
I have a nodeJs, express, mongodb todo list project running on server side and rendering ejs templates.when running on local server it works fine However I deployed the project to heroku and it was working almost a month ago, yesterday I...
6 Nov 2021 by Richard MacCutchan
Go to the Heroku support page: Support | Heroku[^].
12 Dec 2021 by Rakyat Monster
I am writing an application of RobotChat to be 24hours customer-service for answering the questions of the buyers/customers. I use Python, TelegramAPI, dan Flask. My program of this-application can work properly if I run it on local-computer...
15 Dec 2021 by Landon Williams
url = "https://dashboard.heroku.com/new?button-url=https%3A%2F%2Fgithub.com%2Ftitaniumnetwork-dev%2Falloy&template=https%3A%2F%2Fgithub.com%2Ftitaniumnetwork-dev%2Falloy%2Ftree%2Fmaster" options = Options() options.add_argument('--headless')...
5 Feb 2022 by Asif Rehman
My heroku app uploads images to public/uploads/images folder. when I make changes to git repo locally and deploy again. It also removes images in remote public/uploads/images folder. I want to ignore that folder and keep remote image files. ...
23 Jul 2023 by Dragynjump
I'm trying to deploy my website with heroku and I'm 90% of the way there. My problem is that when I try to deploy I get an error message that tells me flask_bcrypt isn't found. The reason is because it's not appearing in my requirements.txt file,...
23 Jul 2023 by Richard MacCutchan
See Deploying a Python Flask Example Application Using Heroku – Real Python[^]
6 Jun 2020 by Needle_Ago
Hi all, I recently entered in a community that want to create a Telegram bot that needs to integrate with Twitch and Patreon subscribers. The bot is already created and working, hosted to Heroku. We used this Soatok/headless-lounge-bot to setup...
27 Feb 2023 by Agnib Pyne 2022
Hi All, I am developing a whatsapp bot as per the client requirements, using python and mongodb. Currently, am using Twilio to test the app but I need to deploy the bot with my client's own number. That support is not available in Twilio, I...
31 Aug 2017 by Member 13387896
bool equivalent (int s[], int n[], int c){ for (int p=0 ; p using namespace std; int main (){ int A [5]; int B[5]; for...
10 Jun 2021 by Ayman Ghandour
I am writing a Node.Js server, I uploaded it to Heroku, I'm using IPs to make a temporary cart for each user (device), I want to distinct also every device in the same network, I mean I want to make a cart for every user, (also in the same IP) I...