Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

deploy a static website to heroku

#create an index.php file to simulate a php web
$ echo '<?php include_once("index.html"); ?>' > index.php

#create composer.json
$ echo '{}' > composer.json$ 

#initialize git repo
$ git init 
$ heroku login
$ heroku git:remote -a your-app-name-123
$ git add .
$ git commit -a -m "new commit"
$ git push heroku master
Comment

PREVIOUS NEXT
Code Example
Shell :: Apache2 Ubuntu Default Page 
Shell :: bash make folders according to a list 
Shell :: install stremio ubuntu 20.04 
Shell :: vim sudo trick 
Shell :: how to install python package without admin rights 
Shell :: go back to previous commit 
Shell :: shell list all files in directory 
Shell :: sail command not found 
Shell :: command to build docker file 
Shell :: undo commit after push 
Shell :: install kex in kali linux wsl 
Shell :: show output after a keyword in shell script in a file 
Shell :: install pup command 
Shell :: sed use match in replacement 
Shell :: jenkins install linux 
Shell :: log the output of the terminal 
Shell :: check on cmd all installed version 
Shell :: apk remove package 
Shell :: free dock for linux 
Shell :: printf in bash 
Shell :: git use stash on another computer 
Shell :: how to git commit and push 
Shell :: git restoring deleted files 
Shell :: rpm uninstall package 
Shell :: redux 
Shell :: terminal archive files 
Shell :: react redux install 
Shell :: git discard changes 
Shell :: cat along with line numbers 
Shell :: time is not updating from internet ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =