https://github.com/NoseCone/aspect-ratio
Sutil Nose Cone
https://github.com/NoseCone/aspect-ratio
fable fsharp sutil
Last synced: about 2 months ago
JSON representation
Sutil Nose Cone
- Host: GitHub
- URL: https://github.com/NoseCone/aspect-ratio
- Owner: NoseCone
- License: mpl-2.0
- Created: 2021-11-26T15:30:15.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2022-02-23T19:59:12.000Z (about 3 years ago)
- Last Synced: 2024-07-30T19:16:28.625Z (9 months ago)
- Topics: fable, fsharp, sutil
- Language: F#
- Homepage: http://sutil.flaretiming.com
- Size: 571 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-sutil - aspect-ratio
README
# Sutil Nose Cone
Before developing or building for deployment run:
```
> dotnet tool restore
> npm install
```## Developing
Work on the stylesheet `site.sass` with:
```bash
> cd src
> sass --watch site.sass:site.css --load-path ../node_modules
```
Install dependencies with `npm install` (or `pnpm install` or `yarn`) and start a development server with:
```bash
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
```
## Building
Build the stylesheet `site.css` with:
```bash
> cd src
> sass site.sass:site.css --load-path ../node_modules
```Build for deployment with:
```bash
npm run build
```
> You can preview the built app with `npm run preview`. This should _not_ be used to serve your app in production.
## Publishing
Build on branch `develop`, switch to branch `main` and then copy the build to the root, commit and push.
```bash
> cp -a build/ .
```