Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/huangyuzhang/gui
A Shell-based Ghost Static Generator
https://github.com/huangyuzhang/gui
ghost ghost-static-generator static-site-generation static-site-generator
Last synced: 3 months ago
JSON representation
A Shell-based Ghost Static Generator
- Host: GitHub
- URL: https://github.com/huangyuzhang/gui
- Owner: huangyuzhang
- License: mit
- Created: 2019-06-22T22:55:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-19T08:36:59.000Z (almost 4 years ago)
- Last Synced: 2024-08-02T12:49:59.938Z (6 months ago)
- Topics: ghost, ghost-static-generator, static-site-generation, static-site-generator
- Language: Shell
- Size: 2.93 KB
- Stars: 21
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - huangyuzhang/gui - A Shell-based Ghost Static Generator (others)
README
# Gui.sh
A Shell-based Ghost Static Generator## Install
1. Have your local Ghost website ready first.2. Install `wget`. For MacOS, simply run `brew install wget`.
3. Save `gui.sh` file in the root directory of your local Ghost website. Modify the `# Define urls and https` section as follows:
```bash
# Define urls and https
from_url=http://localhost:2368 # change this if your local ghost url is different
to_url=yourdomain.com # change it to your real domain name
to_https=true # set true to enable HTTPS (e.g. GitHub Pages)
```4. Give execution permission to it:
```bash
chmod +x gui.sh
```5. Run it:
```bash
./gui.sh
```
6. Then go to `static` folder:
```bash
cd static
```
7. Initiate a new git repo, commit everything here and push to your new GitHub repo:
```bash
git init
git add .
git commit -m "Initial Commit"
git remote add origin [email protected]:/.git
git push -u origin master
```
8. Enable GitHub Pages in settings.