Giter Club home page Giter Club logo

hms2's Introduction

hms2

Version 2 of our Hackspace Management System

Build Status

Cloning

We use submodules, either clone them with this repo git clone --recurse-submodules [email protected]:NottingHack/hms2.git or after git submodule update --init

Hosts File

Most of the development environment is taken care of by vagrant, you just need to vagrant up to load it.

You do however need to make changes to your hosts file on your machine. Add the following line to your file:

192.168.25.35 hmsdev

You can find your file in the following location:

  • Windows: C:\Windows\System32\Drivers\etc\hosts
  • Mac: /private/etc/hosts
  • Linux: /etc/hosts

Running commands on the Virtual Machine

Artisan

To run an artisan command on the VM, (for example if you don't have PHP installed on your local machine) use the php-artisan script that you can find in the dev/ folder.

Simply pass it the artisan command you want to run, e.g:

./dev/php-artisan make:controller

Vagrant re-provisioning notes

When re-provisioning the box (vagrnat up) you must make sure that the .env file has QUEUE_CONNECTION=sync in order the to the db:seed to correctly populate the mailserver database entries.

If the mailserver.mailbox tables it empty you can do a datebase reset and reseed with dev/reseed.sh

Vagrant suspend notes

When bringing up vagrant box after a suspend or halt some of the service my not start correctly due to the shared folder, run this script to restart them

dev/restartservices

Serving

ngrok http https://hmsdev:443

hms2's People

Contributors

cooperaj avatar daniel1111 avatar danspencer101 avatar dependabot[bot] avatar dpslwk avatar geeksareforlife avatar hodgy avatar iandickinson avatar mathw avatar roberthunt avatar scrutinizer-auto-fixer avatar

Watchers

 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.