Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Vagrant and/or Docker support #1452

Closed
natanfelles opened this issue Nov 10, 2018 · 13 comments
Closed

WIP Vagrant and/or Docker support #1452

natanfelles opened this issue Nov 10, 2018 · 13 comments
Labels
documentation Pull requests for documentation only enhancement PRs that improve existing functionalities in progress
Milestone

Comments

@natanfelles
Copy link
Contributor

Direction

Maybe a Vagrantfile or a Dockerfile, or both, in the development repo be a good idea.

Describe the bug

Difficulty to do local tests before to push online.

@natanfelles
Copy link
Contributor Author

@bvrignaud @deathart @kenjis - I see that you use it, guys. I'm a newbie.

@jim-parry
Copy link
Contributor

You can always use virtualbox, & install a suitable flavor of linux in it.
Using vagrant, they have a centos/7 box that I have had my students play with.
Or ... you could take a leap of faith & upgrade from Windows or OSX :D

bitnami also has a VM image for LAMPP ... https://bitnami.com/stack/lamp/virtual-machine

@jim-parry
Copy link
Contributor

It could make more sense to do these as separate repos inside codeigniter4 organization. A vagrantbox could be several GB big; not sure of the size of a docker container.

@Paradinight
Copy link

@natanfelles I am using the laravel/homestead

It work with codeigniter too

@natanfelles
Copy link
Contributor Author

It could make more sense to do these as separate repos inside codeigniter4 organization. A vagrantbox could be several GB big; not sure of the size of a docker container.

OK @jim-parry . But I refer to just the Vagrantfile. It with all requirements for CodeIgniter 4 run.

Faith? I use Debian 🔥 :)

@Paradinight , thanks. I will have a try.

@natanfelles
Copy link
Contributor Author

git clone [email protected]:bcit-ci/CodeIgniter4.git
cd CodeIgniter4
vagrant up

As I understand it is something like this.

@natanfelles
Copy link
Contributor Author

@jim-parry your students could help with it.

@bvrignaud
Copy link
Contributor

This is

@bvrignaud @deathart @kenjis - I see that you use it, guys. I'm a newbie.
Yes. I use docker for most of my developements.
Do you want my docker and docker-compose files ?

@natanfelles
Copy link
Contributor Author

If CI Team accept to add it, and you want to share, or create the files according with CodeIgniter requirements, yes! 😃

With all php extensions, mysql, postgres, redis, etc, ready to run in a CodeIgniter test environment.

@bvrignaud
Copy link
Contributor

bvrignaud commented Nov 10, 2018

This my usually my development docker files.
docker.zip
You just have to run : docker-compose up
And add dev.ci4 to your \etc\hosts

@deathart
Copy link
Contributor

@bangbangda
Copy link
Contributor

you system is Mac OS? I use valet, so easily.
copy driver file is ok.
@natanfelles

@jim-parry
Copy link
Contributor

I am already planning an expanded "installation" page or pages in the user guide. Would it make sense to start by describing the different ways to install/run CI4 there, and then to add config files as appropriate?

@natanfelles natanfelles mentioned this issue Nov 11, 2018
5 tasks
@jim-parry jim-parry added enhancement PRs that improve existing functionalities documentation Pull requests for documentation only labels Nov 12, 2018
@jim-parry jim-parry added this to the 4.0.0 milestone Nov 13, 2018
@jim-parry jim-parry changed the title Vagrant and/or Docker support WIP Vagrant and/or Docker support Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Pull requests for documentation only enhancement PRs that improve existing functionalities in progress
Projects
None yet
Development

No branches or pull requests

6 participants