EOX GitLab Instance

Commit acd9fdb9 authored by Marko Locher's avatar Marko Locher
Browse files

Update Readme.md to make shell steps more readable

parent d8f20a49
......@@ -16,29 +16,39 @@ Currently we _automagically_ install the build dependencies for the following pr
## To start building
* Install vagrant, see http://docs.vagrantup.com/v1/docs/getting-started/index.html for more information. (Or install the latest version by running the following command)
```bash
bundle install
```
* Clone this project!
```bash
git clone https://gitlab.eox.at/vagrant/builder_rpm.git ./
```
* Edit the _Vagrantfile_ and update the project (see the beginning of [Vagrantfile](/vagrant/builder_rpm/tree/master/Vagrantfile))
* Copy your source archive into the _build/SOURCES_ folder
* Copy your spec file into the _build/SPECS_ folder
* Start the VM
```bash
vagrant up
```
* Open a SSH connection
```bash
vagrant ssh
```
* Change to the rpmbuild folder
* Build your RPMs
```bash
rpmbuild -ba SPECS/project.spec
```
* Wait ...
* On your own machine, you can now find your RPMs in the _build/RPMS_ and _build/SRPMS_ folders
* Done!
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment