Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/13r0ck/regaltechsupport.com
https://regaltechsupport.com
https://github.com/13r0ck/regaltechsupport.com
Last synced: 24 days ago
JSON representation
https://regaltechsupport.com
- Host: GitHub
- URL: https://github.com/13r0ck/regaltechsupport.com
- Owner: 13r0ck
- Created: 2021-05-18T05:06:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-16T23:10:38.000Z (almost 3 years ago)
- Last Synced: 2023-03-06T18:54:47.902Z (over 1 year ago)
- Language: Elm
- Size: 71.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [RegalTechSupport.com](https://regaltechsuuport.com)
## This project can be run in 3 ways
1. Full stack locally via Docker
```bash
docker build -t elm-rust-app .
docker run --env PORT='1234' -p 1234:1234 elm-rust-app # starts this app at http://localhost:1234
```
2. Just the front end
> See dependecies below
```bash
elm-spa server # starts this app at http://localhost:1234
```
3. Pushed to Google Cloud
> This is WAY more work, but the `cloudbuild.yaml` is inciuded because I am using it. It can be ignored if using method 1 or 2.
>[Link your Google Cloud Build with your Git Repo.](https://cloud.google.com/build/docs/automating-builds/run-builds-on-github) Then
>[Configure the `cloudbuild.yaml` with your project-id etc](https://cloud.google.com/build/docs/configuring-builds/create-basic-configuration)
>. Then after struggling for hours its as simple as:
```bash
git push origin main
```## Dependencies for running frontend locally
This project requires the latest LTS version of [Node.js](https://nodejs.org/)
```bash
npm install -g elm elm-spa
```## Development commands
```bash
elm-spa add # add a new page to the application
elm-spa build # production build
elm-spa watch # runs build as you code (without the server)
```