Skip to content

A simple tool to generate web server configuration files for FOSSBilling.

License

Notifications You must be signed in to change notification settings

ecrocombe/config-generator

 
 

Repository files navigation

Screenshot

A simple configuration generator made by the FOSSBilling team. This tool makes use of IBM's Carbon Design System on a Next.js server. Use it now at config.fossbilling.org!

API documentation

Generator endpoint: https://config.fossbilling.org/api/generate

Parameters:

  • webServer: Available options: nginx (required)
  • sourcePath: Path to the source files, usually something like /var/www/(...)/src (required)
  • domainName: The domain name of the website, e.g. fossbilling.org (required)
  • includeWWW: Whether to include the www subdomain or not, true or false (by default, true)

Here is an example query: https://config.fossbilling.org/api/generate?webServer=nginx&sourcePath=/var/www/fossbilling.org/src&domainName=fossbilling.org&includeWWW=true

How to customize the templates

How to deploy

Production

The website will be rebuilt automatically after every push and deployed to Vercel. Outside contributors don't need to do anything to get the website deployed.

Testing locally

  1. Clone the repository
  2. Run npm install to install the dependencies
  3. Run npm run dev to start the development server
  4. Open localhost:3000 in your browser

Licensing

This tool is open source software and is released under the Apache v2.0 license. See LICENSE for the full license terms.

About

A simple tool to generate web server configuration files for FOSSBilling.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.7%
  • SCSS 3.3%