Git Product home page Git Product logo

CatShop

Setting up a dev env

First of all Install Vagrant and VirtualBox and we also require the hostmanager plugin for Vagrant, which can be installed using.

vagrant plugin install vagrant-hostmanager

Then do the following to create a VM running CatShop. The created VM will be Redhat Centos 7 with Puppet and Postgres. It'll also setup apache to port forward to your app.

Fork https://github.com/catshop/catshop on your github account and check it out. See https://help.github.com/articles/syncing-a-fork/.

git clone [email protected]:<$YOUR_ACC>/catshop.git
cd catshop
vagrant up #This takes an age

cp catshop_local.yml.example catshop.local
cp sqitch_local.conf.example sqitch_local.conf

vagrant ssh

cd /var/www/catshop
carton install #This will take forever the first time you run it.
carton exec sqitch deploy
CATALYST_DEBUG=1 DBIC_TRACE=1 DBIC_TRACE_PROFILE=console carton exec \
plackup --no-default-middleware -s Gazelle -I lib *.psgi --max-workers=10

Now browse to https://dev.catshop.io/ on your machine, and ignore the https errors.

Help!

We're usually on #catshop on irc.perl.org, come in for a chat or just to abuse us. Happy hacking, pull requests welcome!

Licence

Copyright (c) 2015 CatShop. See the LICENCE file for licence rights and limitations (GPLv2).

catshop's Projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.