2017-11-28 18:18:41 +03:00
|
|
|
# surge
|
2017-11-26 13:54:27 +03:00
|
|
|
|
2017-11-28 18:18:41 +03:00
|
|
|
> Simple command line web publishing.
|
2017-11-26 13:54:27 +03:00
|
|
|
|
2017-11-28 01:34:04 +03:00
|
|
|
- Upload a new site to surge.sh:
|
2017-11-26 13:54:27 +03:00
|
|
|
|
2017-11-28 18:18:41 +03:00
|
|
|
`surge {{path/to/my_project}}`
|
2017-11-26 13:54:27 +03:00
|
|
|
|
2017-11-28 18:18:41 +03:00
|
|
|
- Deploy site to custom domain (note that the DNS records must point to the surge.sh subdomain):
|
2017-11-26 13:54:27 +03:00
|
|
|
|
2017-11-28 18:18:41 +03:00
|
|
|
`surge {{path/to/my_project}} {{my_custom_domain.com}}`
|
2017-11-26 13:54:27 +03:00
|
|
|
|
|
|
|
- List your surge projects:
|
|
|
|
|
|
|
|
`surge list`
|
|
|
|
|
|
|
|
- Remove a project:
|
|
|
|
|
2017-11-28 18:18:41 +03:00
|
|
|
`surge teardown {{my_custom_domain.com}}`
|