Coder Social home page Coder Social logo

thickey256 / phpsurrey.uk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from phpsurrey/phpsurrey.uk

0.0 2.0 0.0 808 KB

A new community driven PHP usergroup in the heart of Surrey (UK) with monthly meetups featuring a range of speakers

Home Page: http://phpsurrey.uk

PHP 0.74% HTML 6.07% ApacheConf 0.08% CSS 93.11%

phpsurrey.uk's Introduction

PHP Surrey

Huzzah you found the repo for the site!

Getting it up and running locally

Clone this repo, point your terminal to the project location are follow the next steps :)

Installing dependencies

All PHP depencies are managed using composer & the browser assets are managed using Bower, so assuming you have that installed just run:

composer install
bower install

Starting the server

I built this version of the site using PHP 5.4's built in server, so in two terminal tabs run:

php -S localhost:8080 -t web web/index.php
sass -w web/stylesheets/main.scss

Alternatively, if copy .env.example to .env you can start using foreman.

foreman start -f Procfile_dev

From here you should be able to visit http://localhost:8080/ and see the site.

Deploying

Hopefully the setup should just be a matter of dropping the repo on a server and pointing your chosen configuration to the /web/index.php file.

You may also want to precomile the CSS with

sass web/stylesheets/main.scss --style compressed > web/stylesheets/main.css

Deploying to Heroku

Fresh run

Create you Heroku project & set the build pack:

heroku create phpsurrey --buildpack https://github.com/heroku/heroku-buildpack-php
heroku buildpacks:set https://github.com/heroku/heroku-buildpack-php

Normal deploy

Just push to heroku :)

phpsurrey.uk's People

Contributors

michaelcullum avatar mikerogers0 avatar

Watchers

 avatar  avatar

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.