Code Monkey home page Code Monkey logo

msmeissn / software-o-o Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opensuse/software-o-o

0.0 2.0 0.0 12.1 MB

The site behind software.opensuse.org. It is the default web interface to download openSUSE distribution and to search for OBS packages.Packages at https://build.opensuse.org/project/show/openSUSE:infrastructure:software.opensuse.org

Home Page: http://software.opensuse.org/

Ruby 45.14% JavaScript 2.57% CSS 12.52% HTML 39.77%

software-o-o's Introduction

software.opensuse.org

Ruby on Rails application powering https://software.opensuse.org

Installing dependencies in a (open)SUSE system

Add the openSUSE:infrastructure:software.opensuse.org repository to your system

zypper ref
zypper in software_opensuse_org-deps

In other systems, use the regular Ruby on Rails mechanisms to install dependencies (i.e. Bundler)

Running the application locally

Just for running it in development mode. If you are playing to deploy it in a server, please apply good Ruby on Rails practices (like generating your own keys for secrets.yml).

git clone https://github.com/openSUSE/software-o-o.git
cd software-o-o
git submodule init
git submodule update

cp config/database.yml.example config/database.yml
cp config/options.yml.example config/options.yml
cp config/secrets.yml.example config/secrets.yml
rake db:migrate

rails server

Enjoy your software.opensuse.org clone at http://127.0.0.1:3000/

Development environment using Vagrant

There is also a Vagrant setup to create our development environment. All the tools needed for this are available for Linux, MacOS and Windows.

  1. Install Vagrant and docker. Both tools support Linux, MacOS and Windows.

  2. Clone this code repository:

    git clone --recurse-submodules [email protected]:openSUSE/software-o-o.git
    
  3. Build your Vagrant box:

    vagrant up
    
  4. Attach to your new development box

    docker attach software_web
    
  5. Configure the app

    cp config/database.yml.example config/database.yml
    cp config/options.yml.example config/options.yml
    cp config/secrets.yml.example config/secrets.yml
    
  6. Setup the database

    rake db:setup db:seed
    
  7. Start the app

    rails server
    
  8. Enjoy your software.opensuse.org clone at http://127.0.0.1:3000/

If you exit the shell inside the vagrant box your development environment is stopped. Want to continue? Run vagrant up and docker attach software_web again. Happy hacking!

software-o-o's People

Contributors

digitaltom avatar coolo avatar ancorgs avatar adrianschroeter avatar prusnak avatar hennevogel avatar lnussel avatar ana06 avatar scootergrisen avatar skriesch avatar wantoyek avatar mailaender avatar belphegor-belbel avatar fsundermeyer avatar ajaeger avatar wantoyo avatar freekdk avatar gianvacca avatar javierllorente avatar elchevive avatar embar- avatar stefan1241 avatar ramaxlo avatar alexminton avatar wsxy162 avatar ggardet avatar miska avatar victorhck avatar eaglescreen avatar medwinz avatar

Watchers

James Cloos avatar Marcus Meissner avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.