Git Product home page Git Product logo

website-homestead's Introduction

Development Environment For LA1:TV's Website

Based on laravel's homestead which is located here.

Uses vagrant.

  1. Simply copy 'LA1TV-Website-Homestead.yaml.sample' to 'LA1TV-Website-Homestead.yaml'.
  2. Fill in the placeholders in 'LA1TV-Homestead.yaml'.
  3. Edit your hosts file to contain "127.0.0.1 www.la1tv.co.uk.local" and "127.0.0.1 embed.la1tv.co.uk.local".
  4. Execute "vagrant up" in the console.

You should now be able to browse to 'http://www.la1tv.co.uk.local:8000/' in your web browser and have the site up and running with the database seeded from the data in 'app/database/seeders'!

You can ssh into the virtual machine by executing 'vagrant ssh'.

The database can be accessed from the host machine at 127.0.0.1, port 33060, with username 'homestead' and password 'secret'.

phpMyAdmin will also be installed and is accessible at 'http://127.0.0.1:3406/' and the embed subdomain is at 'http://embed.la1tv.co.uk.local:8000/'.

The website repo is at "https://github.com/LA1TV/Website".

Troubleshooting

/tmp/vagrant-shell: line 2: /etc/php/7.0/fpm/php-fpm.conf: No such file or directory

This problem here is that you have a newer vewsion of the laravel/homestead than expected. The newer versions make use of php 7.1 and the website expects php 7.0.

To find the version you currently have use command vagrant box list

The list of versions can be viewed here: https://atlas.hashicorp.com/laravel/boxes/homestead/
You want to find a version that is before version 1.0.0 and supports your provider.

To remove the old version of laravel/homestead run vagrant box remove laravel/homestead

Then to download the older version run:
vagrant box add laravel/homestead --box-version 0.6.0 --provider virtualbox
(This assumes you are using virtual box, 0.6.1 wasn't used becuase it didn't have a version for virtualbox)

website-homestead's People

Contributors

joeecarter avatar tjenkinson avatar

Watchers

 avatar  avatar  avatar  avatar

website-homestead's Issues

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.