Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/intelliants/subrion-template-businesscard
Template for business website.
https://github.com/intelliants/subrion-template-businesscard
Last synced: 16 days ago
JSON representation
Template for business website.
- Host: GitHub
- URL: https://github.com/intelliants/subrion-template-businesscard
- Owner: intelliants
- Created: 2015-12-18T05:42:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-10-03T05:30:07.000Z (about 6 years ago)
- Last Synced: 2024-02-21T21:33:08.018Z (10 months ago)
- Language: CSS
- Size: 4.23 MB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# subrion-template-businesscard
This is a simple stylish template for [Subrion CMS](https://subrion.org/).## Installation
### Manual
1. Download latest release https://github.com/intelliants/subrion-template-businesscard/releases
2. Unpack contents of archive to `[root]/templates` folder
3. Rename `subrion-template-businesscard-master` to `businesscard`
4. Activate template in admin dashboard.Or you can
```
cd [root]/templates # where root is the location of subrion core
git clone https://github.com/intelliants/subrion-template-kickstart.git ./kickstart
```
Voila! Just activate it in your Dashboard / Extensions / Templates### In Subrion Admin Dashboard
1. Go to Admin Dashboard > Extensions > Templates
2. Download Businesscard template
3. Install it.## Development
> This manual covers development of visual styles. To learn more about Subrion template structure and configuration options, please refer to Subrion Extensions wiki page: `URL_TO_SUBRION_WIKI`
The Businesscard template is setup to use [Gulp](http://gulpjs.com/) to compile LESS (with source maps), run it through [AutoPrefixr](https://github.com/postcss/autoprefixer), optimize images, and syncs changes across local development devices with [BrowserSync](https://browsersync.io/docs/gulp/), with flexibility to add any additional tasks via the Gulpfile. Alternatively, you can use [Prepros](https://prepros.io/) or whatever else y ou prefer to compile the LESS and manage the JavaScript.
### Prerequisites
In root folder of Businesscard template run:
```
npm i
```
To install all necessary node modules.#### BrowserSync
Before running `dev` task, be sure to copy **config.sample.json** and rename it to **config.json**. Then change server config in **config.json** file for BrowserSync to work properly. Otherwise BrowserSync won't work.### Tasks
```
gulp dev
```
Starts BrowserSync and watches for LESS files. Optimizes images and compiles LESS with SourceMaps.```
gulp build
```
Compiles LESS and optimizes images.### Compiling with GUI tools
If you don't want to use Gulp task-runner to process template files, you can use any GUI compilers like [Prepros](https://prepros.io/), [Koala](http://koala-app.com/) or [Simpless](https://wearekiss.com/simpless).
What is important:
* The main file for compilation is `iabootstrap.less`. It should be compiled to `[root]/templates/businesscard/css/iabootstrap.css`## Contributing
Anyone is welcome to contribute! Check out the [Contributing Guidelines](CONTRIBUTING.md).