Skip to content

FlexCarver/FlexCarver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FlexCarver: Grunt & LESS based basic website builder

History

FlexCarver was built to help students @ the Fachhochschule Salzburg get a head start building websites.
It includes a demo for a MySQL - PHP API @ the hian (HTML in a nutshell) theme

Install

  • install git/git bash Git
  • install node and npm globally - Node.js
  • in your gitbash command window install grunt globally "npm install grunt -g"
  • in your gitbash command window -> go to your FlexCarver project directory and into the src directory
  • run "npm install --only=dev" - this will install all the needed node-modules for development
  • change the web/api/index.txt to your settings and change the name to index.php for using the web/api example
  • add the directory web/crud and add the single file api.php for using the web/crud/api.php example - php-crud-api
  • make sure to set the config at the bottom of the api.php file if you want to use it - like in the web/api/index.php file
  • the hian theme has a sql file saved for testing the api @ src/themes/hian/sql/
  • point your xampp installation to the project directory (httpd.config - DocumentRoot and the Directory-tag underneath), which is the projectname/web for the root of your site (after cloning it would be yourpath/FlexCarver/web) - restart apache

Ready to go!

  • The "grunt" command will move and copy all needed files in the web directory
  • Use "grunt" command for development mode
  • Make sure to reload your site once after the first dev build - this will activate the auto-reload script
  • Use "grunt --prod=t" for production mode - upload the web directory contents into the root of your website

Documentation

  • change the theme in the config.json file
  • using the UIkit css framework - with LESS

Demo Site

License - MIT

Copyright 2020 ComfortPages GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Grunt & LESS based basic website builder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published