Coder Social home page Coder Social logo

agilitycms-dotnet-starter's Introduction

Agility CMS & .NET Starter

To start using the Agility CMS & .NET Starter, sign up for a FREE account and create a new Instance using the DotNet Starter.

Introduction to .NET and Agility CMS

About This Starter

  • Uses the latest version of .NET, with greatly improved performance across many components, Language improvements to C# and F#, and much more.
  • Supports full Layout Management
  • Supports Preview Mode
  • Includes an easy-to-use CLI tool that helps you download the Content Models from your Agility CMS instance, and generates the classes of the Content Models for you.

Tailwind CSS

This starter uses Tailwind CSS, a simple and lightweight utility-first CSS framework packed with classes that can be composed to build any design, directly in your markup.

It also comes equipped with Autoprefixer, a plugin which use the data based on current browser popularity and property support to apply CSS prefixes for you.

This project is using Node.js to generate the tailwind css classes.

Getting Started

๐Ÿšจ Before you dive into the code, it's important that you have the latest version of the .NET SDK installed on your machine (>=v8.0), as the project will not run without this.

Generating/Syncing Content Models from your Agility Instance

  1. cd into the Agility.NET.AgilityCLI directory.
  2. Rename the App.config.example file to App.config.
  3. Overwrite the values in the App.config file with the values from the API Keys page in Agility Settings.
  4. Run dotnet run update preview to download the Content Models from your Agility CMS instance, and generate the classes of the Content Models for you.

Setting up the Starter

  1. cd into the Agility.NET.Starter directory.
  2. Rename the appsetting.json.example file to appsettings.json.
  3. Overwrite the values in the appsettings.json file with the credentials from the API Keys page in Agility Settings.

Running the Site Locally

  • dotnet build => Builds the website
  • dotnet run => Builds & runs the website
  • npm run dev & dotnet watch => Builds and runs the site in Watch mode, so changes are reflected in the browser immediately.
  • dotnet clean => Cleans the build outputs of the site

How It Works

Deploy to Azure App Service

  1. Create an Web App (server) to host your application by clicking Azure Deploy button below:
    Deploy to Azure

  2. Deploy your source to Web App by following the steps here How to Deploy the Dotnet Starter to Azure

Resources

Agility CMS

.NET

Tailwind CSS

Community

Feedback and Questions

If you have feedback or questions about this starter, please use the Github Issues on this repo, join our Community Slack Channel.

agilitycms-dotnet-starter's People

Contributors

dkarpienia avatar joelvarty avatar 5pk avatar joshua-isaac avatar techxpert-mohit avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

Forkers

ramm1997

agilitycms-dotnet-starter's Issues

Missing comprehensive readme

  • Should list any depedencies (i.e. >=v5.0 .NET Framework SDK and Runtimes)
  • Should describe how to get started with exact steps
  • Should link to expanded documentation in help center
  • Deployment documentation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.