Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

surge flutter web

# 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 :: git change master branch 
Shell :: how many repositories can be created in github 
Shell :: create branch from existing branch 
Shell :: tail -f linux last 100 lines 
Shell :: powershell pip CERTIFICATE_VERIFY_FAILED 
Shell :: # /bin/bash for launching ec2 
Shell :: git push template 
Shell :: github create repo 
Shell :: brew services start mongodb-community@4.4 
Shell :: ssh transfer file 
Shell :: link local to remote git 
Shell :: install tar.xz in ubuntu 
Shell :: install aws cli version 2 mac 
Shell :: linux convert png favicon 
Shell :: push an existing repository from the command line 
Shell :: install rclone FOR UBUNTU 
Shell :: apt install jack audio 
Shell :: linux install requirements.txt 
Shell :: unzip linux 
Shell :: Adding local user to Docker group 
Shell :: whats the file path for the documents folder linux 
Shell :: find files size greater than 100mb in linux 
Shell :: git pull override local changes 
Shell :: fix kde root themes 
Shell :: git bash posh git 
Shell :: insert a line at a line number sed 
Shell :: SSH key passphrase reset 
Shell :: .gitignore 
Shell :: finda java home 
Shell :: echo new line 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =