Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lyricat/mornin.fm
https://github.com/lyricat/mornin.fm
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lyricat/mornin.fm
- Owner: lyricat
- License: apache-2.0
- Created: 2020-04-30T06:44:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-27T08:44:11.000Z (almost 2 years ago)
- Last Synced: 2024-08-12T04:01:18.924Z (3 months ago)
- Language: Vue
- Size: 1.72 MB
- Stars: 335
- Watchers: 14
- Forks: 53
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mornin
source code of https://mornin.fm
## Build Setup
``` bash
# install dependencies
$ yarn install# serve with hot reload at localhost:3000
$ yarn dev# build for production and launch server
$ yarn build
$ yarn start# generate static project
$ yarn generate
```## Deploy on Github Pages
### Custom domain name
You must have your own domain name, because the project uses relative paths.
If you use Github's domain name, it's will be deploy on `.github.io/mornin.fm/`, but it will try to find js and css in `.github.io/` and failed.After you configure a CNAME record with your DNS provider, modify `src/CNAME` to your custom domain name.
By the way, Github does not recommend using the root domain name, but using the subdomain name.
If the root domain name is used as the CNAME, see [configuring-an-apex-domain](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site#configuring-an-apex-domain).### Custom RPC URI
If you use self-hosted [kraken](https://github.com/MixinNetwork/kraken) as backend service, modify `env.API_BASE` in `.github/workflows/master.yml`
### Deploy
Finally, go to your forked repository, click Settings -> Pages, select `gh-pages` branch to save.