Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Steps to deploy your flutter project with surge

# Steps to deploy your flutter project with surge
# pre steps: everytime you deploy you have to build using 
flutter build web

Step 1:
# install surge 
sudo npm i -g surge 

Step 2:
# To deploy flutter web using surge
Method-1
surge 

# Method-2 - In case you don't have access to deploy on default domain
# you can choose your own domain
surge --domain your-own-domain.surge.sh

Step 3:
# when prompt is asked for project:
<path to project>/project-name -- In here you add /build/web so it should look like:
<path to project>/project-name/build/web
Comment

PREVIOUS NEXT
Code Example
Shell :: grep exclude 
Shell :: tensorflow install size 
Shell :: git command to create a branch from another branch 
Shell :: tail command in linux 
Shell :: commitlint, husky, commitzen 
Shell :: pacman remove package 
Shell :: @mui/material npm 
Shell :: npm i vs npm ci 
Shell :: command line remove directory and contents 
Shell :: adobe acrobat reader for linux download 
Shell :: silent install google chrome powershell 
Shell :: delete branches gitlab 
Shell :: install aws cli v2 mac 
Shell :: git pull from previous commit 
Shell :: linux wifi connected but no internet 
Shell :: install glfw debian 
Shell :: adb kill all emulators 
Shell :: adding images to readme github 
Shell :: how to find all the dir in current working directory in linux 
Shell :: install minikube 
Shell :: unable to resolve host myhost 
Shell :: git lost changes after reset --keep 
Shell :: how to port-forward k8s on server 
Shell :: git CAfile: none CRLfile: none 
Shell :: linux read text file command line 
Shell :: como desfazer um git add . 
Shell :: run sh with parameter 
Shell :: git create a new branch from current branch 
Shell :: install trading view on linux 
Shell :: how to uncommit the last commit in git 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =