EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 1f41926d authored by Marko Locher's avatar Marko Locher
Browse files

Rewrote Readme.md

parent acd9fdb9
No related branches found
No related tags found
No related merge requests found
......@@ -15,43 +15,36 @@ 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)
Clone this project!
```bash
git clone https://gitlab.eox.at/vagrant/builder_rpm.git ./
```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
```
Install vagrant, either see [vagrant docs](http://docs.vagrantup.com/v1/docs/getting-started/index.html) for more information, or install the latest version via rubygems by running the following command
* Open a SSH connection
```bash
vagrant ssh
```
```bash
bundle install
```
* Change to the rpmbuild folder
* Build your RPMs
```bash
rpmbuild -ba SPECS/project.spec
```
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, your spec file into the _build/SPECS_ folder, start the VM and open a SSH connection
* Wait ...
* On your own machine, you can now find your RPMs in the _build/RPMS_ and _build/SRPMS_ folders
* Done!
```bash
vagrant up
vagrant ssh
```
Change to the _rpmbuild_ folder and start building
```bash
cd rpmbuild
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!
## How to add a new project
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment