Skip to content

bmf-san/vagrant-for-rubel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vagrant-for-rubel

This is a vagrant environment for Rubel.

bmf-san/Rubel

Get Started

Provisioning

vagrant init

cd Rubel/ansible/group_vars/vagrant.yml.sample
cp vagrant.yml.sample vagrant.yml

cd Rubel/ansible
cp host.sample host

vagrant provision

If you have no vagrant box in your host machine, you need to prepare a vagrant box before vagrant init.

An Ansible playbook has been in a directory. Please customize it as necessary.

Setting a database

vagrant ssh

cd path/to/backend-app

php artisan migration
php artisan db:seed

If you want to create data interactively, you can use php artisan app:init instead of using php artisan db:seed.

After you finished provisioning, you have two databases and three users on the mysql.

User Password Database
root Pass@Word123 all
rubel Pass@Word123 rubel
rubel_test Pass@Word123 rubel_test

You can change the mysql settings by editting the vagrant.yml.

Now you can start the Rubel!

URL

App URL
Front http://rubel/
API http://api.rubel/
Adimin http://admin.rubel/

License

This project is licensed under the terms of the MIT license.

Author

bmf - A Web Developer in Japan.

About

This is a vagrant environment for Rubel.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published