Skip to content

CruGlobal/know-god-web

Repository files navigation

KnowGod.com embedable web app

This is an Angular 17 project created with TypeScript.

Embed

<div id="knowGodEmbed" data-book="kgp-us" data-lang="en"></div>
<script src="https://knowgod.com/embed.js"></script>

Environments

Development

Getting Started

First, make sure that you have a suitable version of Node.js. This project uses node v20.17.0. To check your node version, run node --version. If you don't have node v20.17.0 installed or a suitable version, the recommended way to install it is with asdf, a development tool version manager.

You will also need to ensure you are using yarn version 4.7.0.

# Install asdf and the node plugin
brew install asdf
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git

# Integrate it with your shell
# ZSH shell integration is shown here, but for installation instructions for other shells, go to https://asdf-vm.com/guide/getting-started.html#_3-install-asdf
echo -e "\n. $(brew --prefix asdf)/libexec/asdf.sh" >> ${ZDOTDIR:-~}/.zshrc

# IMPORTANT: Close that terminal tab/window and open another one to apply the changes to your shell configuration file

# Install the version of node defined in this project's .tool-versions file
asdf install nodejs

# Check that the node version is now 20.17.0
node --version

Install & Run

Once you're on the correct node version, install the dependencies.

yarn

Run the development server:

yarn start

Run start:dev if you want to grab data from the staging DB.

Open http://localhost:4200 with your browser to view the site.

Deploy

  • Push to staging to auto-deploy to stage.knowgod.com
  • Push to main to auto-deploy to knowgod.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 21