mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Update INSTALL.md
Add `vagrant exec` instructions
This commit is contained in:
parent
feeac2a816
commit
c9cce9fcca
1 changed files with 10 additions and 4 deletions
14
INSTALL.md
14
INSTALL.md
|
|
@ -26,27 +26,33 @@ We are using [Vagrant](https://www.vagrantup.com/) to create our development env
|
|||
vagrant up
|
||||
```
|
||||
|
||||
7. Start your OSEM rails app:
|
||||
5. Start your OSEM rails app:
|
||||
|
||||
```
|
||||
vagrant exec rails server -b 0.0.0.0
|
||||
```
|
||||
|
||||
8. Check out your OSEM rails app:
|
||||
6. Check out your OSEM rails app:
|
||||
You can access the app [localhost:3000](http://localhost:3000). Whatever you change in your cloned repository will have effect in the development environment. Sign up, the first user will be automatically assigned the admin role.
|
||||
|
||||
9. Changed something? Test your changes!:
|
||||
7. Changed something? Test your changes!:
|
||||
|
||||
```
|
||||
vagrant exec rake test
|
||||
```
|
||||
|
||||
10. Explore the development environment:
|
||||
8. Explore the development environment:
|
||||
|
||||
```
|
||||
vagrant ssh
|
||||
```
|
||||
|
||||
9. Or issue any standard `rails`/`rake`/`bundler` command by prepending `vagrant exec`
|
||||
|
||||
```
|
||||
vagrant exec rake db:migrate
|
||||
```
|
||||
|
||||
**Note**: We use [letter_opener](https://github.com/ryanb/letter_opener) in development environment.
|
||||
However, letter_opener uses launchy to present the emails in your browser which doesn't work in combination with Vagrant.
|
||||
Therefore we use [letter_open_web](https://github.com/fgrehm/letter_opener_web).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue