Skip to content

appifyhub/the-agent-landing

Repository files navigation

The Agent · Landing Page

The source code of The Agent's landing page.

How to run locally

  • First, ensure that NodeJS & Node Package Manager (npm) are both installed. If they're not installed, choose your OS and installation method from this page and follow the installation instructions.
  • This page requires Node 14 to work. You can handle multiple node versions with NVM, for example.
  • Next, use your command line to enter your project directory.
  • Run npm install to install all of the dependencies into your project. This should automatically clean, inspect, build and prepare the sources for distribution.
  • Run npm run watch to start a local server and open the page in your default browser. The server will watch for any changes in the src directory and automatically inject them into the distribution. Distribution is already available at ./dist.

In case you get a dependency conflict, feel free to run the installation command with --force applied.

Important

⚠️   Don't forget to copy git hooks from /hooks to .git/hooks before starting your work!

And now you're ready to go!

Pro tip

Run any of the available task by typing npm run <task> (where "task" is the name of the task in the "scripts" object in package.json). The most useful task for rapid development is watch. It will start a new server, open up a browser and watch for any SCSS or JS changes in the src directory; once it compiles those changes, the browser will automatically inject the changed file(s) into your distribution.