https://github.com/lcharette/brickshelper
Bricks & Pieces helper
https://github.com/lcharette/brickshelper
Last synced: about 2 months ago
JSON representation
Bricks & Pieces helper
- Host: GitHub
- URL: https://github.com/lcharette/brickshelper
- Owner: lcharette
- License: mit
- Created: 2016-02-18T01:36:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-09-03T02:41:43.000Z (over 4 years ago)
- Last Synced: 2025-02-12T09:59:12.061Z (3 months ago)
- Language: JavaScript
- Homepage: http://bricks.bbqsoftwares.com
- Size: 187 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Bricks & Pieces helper
Requires:
* Jekyll
* PHP
* MySQL Database
* yui-compressor (Optional, for production build)#Install
##PHP part
1. Setup MySQL credidentials
Copy the file ```config.mysql.php.default``` to ```config.mysql.php``` and edit the new file with you MySQL credidentials.2. Setup database
You'll find what you need in the ```db/``` folder.##Jekyll part
###Dev Mode
First, why Jekyll?
* a) Because I'm lazy...
* b) Because I liked it
* c) Because when I started this I didn't need PHP... (Feel free to rebuild everything without Jekyll and submit a pull request if you're not lazy like me :p )Second, if you just want to test the code, you can just build the website with ```jekyll build``` and the result (what you upload to the PHP server) will be in the ```_site/``` dorectory.
###Production Mode
The _production_ tag simply tell Jekyll to compile the statics pages while pointing to the compressed javascript file and it add my Google Analytics code for the production website. So :1. Build the site
```
JEKYLL_ENV=production jekyll build
```1. Compress Javascript
```
yui-compressor -v _site/assets/js/app.js -o _site/assets/js/app.min.js
```Site will be ready for you in the ``_site/`` directory.
##Where to go next.
Questions about what when how and when is Bricks and Pieces Helper? [See this link](http://bricks.bbqsoftwares.com) or [this other link](http://www.eurobricks.com/forum/index.php?showtopic=121587).Want to contribute? Don't be shy! Submit a pull request and check how the issues section for what's left to do (hint, a lot!)