Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 3 4 [5] 6 7 ... 10
 41 
 on: September 20, 2015, 11:34:19 PM 
Started by Keyrocks - Last post by nukpana
So I have to do this on my laptop and I figured I go over the steps with you, how I did this.   I used this as a guide: http://laravel.com/docs/master/homestead

a) Download Virtualbox and install it.
https://www.virtualbox.org/wiki/Downloads

b) Download Vagrant and install it
https://www.vagrantup.com/downloads.html

c) (Optional) Download the latest (at this time) Homestead box.  I keep this for multiple machines at home. WARNING - @ a 1GB file
https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.2.7/providers/virtualbox.box

d) Go to where you downloaded the box and add it.  (Terminal command)
Code: [Select]
vagrant box add laravel/homestead hc-download
If you didn't download the box previously, then simply run and it will download automatically.
Code: [Select]
vagrant box add laravel/homestead
e) Create a folder where your Homestead VM will reside. I named mine simply VM/Homestead

f) (Terminal)
Code: [Select]
cd VM
g) Using git, clone Homestead & initialize it. Prepare to edit Homestead.yaml:
Code: [Select]
git clone https://github.com/laravel/homestead.git Homestead
cd Homestead
bash init.sh
cd
cd .homestead/

h) create a SSH key
Code: [Select]
ssh-keygen -t rsa -C "you@homestead"
i) Now edit Homestead.yaml
 - I changed the memory to 256
 - folders section: map is your drive, to is the VM folder structure.
 - sites is the same thing, just where your site project will be. In the example below testsite.local doc root is in /home/jason/Projects/Web/testsite.local/public
Sample:
Code: [Select]
folders:
    - map: /home/jason/Projects/Web
      to: /home/vagrant/Projects

sites:
    - map: testSite.local
      to: /home/vagrant/Projects/testSite.local/public

j) add your site to the computer's host file and save it:
Code: [Select]
192.168.10.10 testsite.local
k) Go back to the VM/Homestead folder and start up the Virtual Machine:
Code: [Select]
cd
cd VM/Homestead
vagrant up

l) try out your site in the browser:
testsite.local

m) When your done:
Code: [Select]
vagrant halt

 42 
 on: August 28, 2015, 10:08:35 PM 
Started by stjepan - Last post by stjepan
Indeed  ;D

 43 
 on: August 25, 2015, 02:37:38 AM 
Started by Keyrocks - Last post by Keyrocks
A lot of this is command line based, again, be forewarned if your not used to it.

Hope this helps out.

PS. How do you tag someone here?!?!?

Thanks for the additional links Jason.
I'm not used to it at all but could probably get into it if I put my mind to it through the coming winter. Judging by what you've shared, perhaps it's not really up my alley at this point.

I haven't done any programming work for a couple of years now. I've been limited to configuring WordPress sites for a few clients, and running a couple of SMF forum sites, and that's about it. I lost my primary hard drive last September and all of my previous sNews projects with it unfortunately.

Tagging someone? Ignore that - it's not possible on this forum ... I was thinking Facebook.  :P
I've turned on notifications for both PMs and replies to threads I start ... had them turned off till now. That way I'll get email notices of replies in future.

Thanks again.  :)

 44 
 on: August 23, 2015, 03:12:45 PM 
Started by Keyrocks - Last post by nukpana
Doug

Laravel is probably the biggest used PHP Framework today. 

Homestead is a Virtual Machine "box" that used by Vagrant on top of VirtualBox. (Homestead is about a 1GB download, at least when I did it last, and is expanded to 2.5+GB)
http://laravel.com/docs/master/homestead
http://www.vagrantup.com/downloads.html
https://www.virtualbox.org/wiki/Downloads

https://scotch.io/tutorials/getting-started-with-laravel-homestead

Why?
http://docs.vagrantup.com/v2/why-vagrant/index.html

I use Homestead because I got sick of messing with all different applications to get a consistent environment on all my home boxes (Mac & Linux), when I do any programming work (which is almost none nowadays).  A lot of this is command line based, again, be forewarned if your not used to it.

Hope this helps out.

PS. How do you tag someone here?!?!?

 45 
 on: August 23, 2015, 03:07:44 AM 
Started by Keyrocks - Last post by Keyrocks
I had a query through a music-related acquaintance on Facebook a few days ago, looking for help with a PHP project. It turns out he needs help from an independent, freelance PHP developer for a major web project built using Laravel / Homestead which runs on a Vagrant work environment.

I know these have nothing to do with sNews. I've never heard of these until now, but they do look interesting, so I may explore them once winter (in Ontario Canada) sets in. Has anyone else heard of and explored these yet? If so, let me know and tag my name (keyrocks) so I get a notification by email. :)

 46 
 on: August 23, 2015, 02:39:45 AM 
Started by stjepan - Last post by Keyrocks
Tandy was a beast back then  :) I started with C64, than saw all the legends of that time, ZX 80, Spectrum, later Atari, then some home-built computers, then first Apples than ended up on PCs of all kinds. Wonderful times those were. Turbo mode - a few megahertz more!  :) And everything was working just fine.  :)

Now we're starting to sound like really old fogies.  ;D

 47 
 on: August 10, 2015, 09:45:32 PM 
Started by stjepan - Last post by stjepan
Tandy was a beast back then  :) I started with C64, than saw all the legends of that time, ZX 80, Spectrum, later Atari, then some home-built computers, then first Apples than ended up on PCs of all kinds. Wonderful times those were. Turbo mode - a few megahertz more!  :) And everything was working just fine.  :)

 48 
 on: July 06, 2015, 06:16:56 PM 
Started by stjepan - Last post by Keyrocks
WOW ... that goes a way back stjepan ... my first computer was a Tandy 2000 with a color monitor.  ;D

 49 
 on: July 03, 2015, 10:29:47 PM 
Started by stjepan - Last post by stjepan
I think we, who remember the strong beginning of sNews, are now in the group that remembers C64, 6502 and time when amber was the only color on the display. :)

 50 
 on: April 20, 2015, 05:21:22 PM 
Started by stephane - Last post by stephane
Hello,
I'm trying to create rewrite rule for old website to the new one in sNews.
On the old website there is a lot of page like this : index.php?option=com_content&view=article&id=180&Itemid=182

I'd like to create one rule with the first part of the url : index.php?option=com_content&view=articleWHATEVERBEHIND Redirect to the new index.php site in sNews.

Do you have an idea about this ?

Many thanks to you,
Stef.


Pages: 1 ... 3 4 [5] 6 7 ... 10