Questions tagged [Deployment] (317)

1
answer

Why vk bot does not work on heroku?

The situation is this: Make bot for the VC group, the project installed the following modules: - express io - body-parser, - node-vk-bot-api Use Callback API Vkontakte for continuous support of the work of the bot. Bot works successfully using ngrok but on heroku somehow gives an application error and the VC server it says...
Ellsworth asked April 19th 20 at 12:10
2
answers

Can't make deployment on Heroku?

Hi! Trying to deplot bot on Heroku, but this problem is popping up: Enumerating objects: 5, done. Counting objects: 100% (5/5), done. Delta compression using up to 8 threads Compressing objects: 100% (4/4), done. Writing objects: 100% (5/5), 3.10 KiB | 3.10 MiB/s, done. Total 5 (delta 0), reused 0 (delta 0), pack-reused 0 r...
annabell asked April 18th 20 at 13:39
1
answer

What approach to use when rolling back the production version?

Very soon the project is launched and would like to protect it from feylov in the future! As the percentage of users we are planning how best to roll back the version of prod(web) ? To configure backups on the hosting ? Need an option when a rollback needs to happen as quickly as possible(for example, at 9 am found a bug, ...
Kaylie72 asked April 9th 20 at 10:30
1
answer

What version of deployment Vue SPA is more correct?

Now do the following: in the backend to express in a folder put static build of your application. Give it the following way: app.get(/.*/, (req, res) => res.sendFile(__dirname + '/static/index.html')) This method has spied for a long time in the foreign tutorials on deployment. It is working, I don't see any cons (for s...
Giles.Buckrid asked April 8th 20 at 10:41
1
answer

How to configure github actions for digital ocean?

First time set up CI/CD, wildly happy when Github Actions executed all necessary actions (build, deploy). But the joy quickly evaporated when I realized that this has little to do with the actual server and no fairy magic here. Case: there is a repo, you need to collect the client, then rebuild the Docker container. Stand...
Estel_Beah asked April 8th 20 at 10:21
4
answers

How to deplot edits?

How to upload to the server, changes which affect code and database? For example you changed on the page has some kind of block, I corrected the code in the admin changed the content. Now that's all you need to upload to the server. The code base will not work, the unit which you ruled will appear clumsy. Conversely, a new ...
Michel_Cassin asked April 8th 20 at 10:19
1
answer

How to publish a website?

How to migrate to a server application on Laravel + voyager? Try this: git init git remote add origin ... git checkout master git pull add .env add .htaccess php artisan migrate --force When you migrate issues: In ProviderRepository.php line 208: Class 'TCG\Voyager\VoyagerServiceProvider' not found
andy asked April 8th 20 at 10:17
1
answer

Why nodejs app on heroku not deploid?

Wrote a nodejs app. It's very simple - it's a game. Only three routes. But when you deploy the branch master from github on heroku, nothing works. At first I thought the error that I have in the file app.js port is port 3000 was replaced by const port = process.env.PORT || 3000;but it did not help. Then I decided that the f...
Carlos.Bli asked April 8th 20 at 09:44
1
answer

How to prepare to deploy your application files in npm/node_modules?

Began to study npm. When you install the package (locally) in a folder node_modules/package, in some cases, loaded a fairly large number of files. At the same time, we - as a package user, usually interested in *min.js/*min.css and if so, then some assets. It is clear that you can before downloading to the server "hands" ev...
andre32 asked April 7th 20 at 15:25
9
answers

Both during the coding easily and quickly to fill the modified code on a remote server accessible only through SSH?

A remote server with CentOS, only accessible by SSH. How do I code on windowos machine and to upload changes to a remote server with one click.
Maudie_Kunze asked April 7th 20 at 10:30