laser-gcode-app
![Coverage Status](https://coveralls.io/repos/wreality/laser-gcode-app/badge.png?branch=develop)
Lansing Makers Network
A simple webapp to help members generate Gcode for Lansing Makers Network's
buildlog.net laser cutter.
http://www.lansingmakersnetwork.org/
Installation
- Install Dependencies
- pstoedit
- Clone/download timschmidt's fork of the pstoedit repo: https://github.com/timschmidt/pstoedit-lmn-laser
- Inside the downloaded/cloned directory run: ./configure && make && sudo make install && sudo ldconfig
- Imagick
- Run:
sudo apt-get install php5-imagick
- Redis (while not required, redis is strongly recommended for production installed
- Run:
sudo apt-get install redis-server
- PhpRedis (same as above, not required, but recommended)
- Follow the instructions at: https://github.com/nicolasff/phpredis#installation
- Clone the laser-gcode-app repo:
git clone --recursive git@github.com:wreality/laser-gcode-app.git
- Make the cake console executable:
chown 770 app/Console/cake
- If using Redis:
- Run:
cd app/Plugin/CakeResque
- Run:
curl -s https://getcomposer.org/installer | php
- Run:
php composer.phar install
- Head back up to the project root:
cd ../../../
- Copy the default redis-config and edit to your liking:
cp app/Config/resque-config.php.default app/Config/resque-config.php
- Configure Application Defaults
- Copy default config:
cp app/Config/config.php.default app/Config/config.php
- Edit to your liking:
nano app/Config/config.php
- Pay special attention to the baseUrl parameter!
- Configure Database:
- Copy default database file:
cp app/Config/database.php.default app/Config/database.php
- Edit with your database details:
nano app/Config/database.php
- Import database tables:
app/Console/cake schema create --name laser
- Point your webserver to serve up
app/webroot
!