Giter Site home page Giter Site logo

xbl3 / spkrepo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from synocommunity/spkrepo

0.0 1.0 0.0 219 KB

Synology Package Repository

Home Page: http://spkrepo.readthedocs.org

License: MIT License

Python 90.54% CSS 0.33% JavaScript 0.03% Mako 0.18% SaltStack 2.14% HTML 6.79%

spkrepo's Introduction

spkrepo

Synology Package Repository

Travis CI build status

Documentation Status

Requirements Status

Code coverage

Development

Installation

  1. Create a virtualenv and install dev-requirements.txt. You may need to install development packages on your distribution.
  2. Create the tables with python manage.py db create
  3. Populate the database with some fake packages with python manage.py db populate
  4. Add an user with python manage.py user create -u Admin -e [email protected] -p adminadmin
  5. Grant the created user with admin permissions python manage.py user add_role -u [email protected] -r admin

To reset the environment, clean up with python manage.py clean.

Run

  1. Start the development server with python manage.py runserver
  2. Website is available at http://localhost:5000
  3. Admin interface is available at http://localhost:5000/admin
  4. NAS interface is available at http://localhost:5000/nas
  5. API is available at http://localhost:5000/api
  6. Run the test suite with python manage.py test

Deployment

As an example of deployment, spkrepo provides SaltStack files in the salt directory. You can test this with Vagrant by running vagrant up. This makes easy to reproduce production-like environments.

spkrepo's People

Contributors

hgy59 avatar ymartin59 avatar dr-bean avatar anonym-tsk avatar

Watchers

James Cloos 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.