Coder Social home page Coder Social logo

neener54 / asset-manager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ryanmacg/asset-manager

0.0 2.0 0.0 999 KB

An asset manager for a corporate environment including picture upload, individual user accounts and admin controls for re-assignation

License: MIT License

asset-manager's Introduction

##Asset Manager

An asset manager for use in a corporate environment, feel free to submit patches and pull requests.

Distributed under the MIT license (although attribution would be appreciated)

If there are issues with the signup mailer blocking users run the following from deployment server using "cap delayed_job:start", ":stop" and ":restart" are also valid commands

To take the app down for maintenance run "cap deploy:web:disable" and to bring it back up run "cap deploy:web:enable"

At some point it may be worth looking into 404 and 500 pages but currently they mess with the routing to an extreme degree which only becomes apparent on the production server.

Uses blueprint.css for print.css Uses bootstrap for UI


###Setup

Asset Manager is set up to use environment variables for anything specific to your settings to make these work. There is an example defaults file and it is deployed as part of the capistrano setup stage.

ENV['comp_logo'] = 'Company Name' #whatever you want the header logo to be
ENV['comp_title'] = 'Title' #whatever you want before the pipe in the title

With these set it should work for tracking assets that need to be issued internally


###Capistrano Commands


cap bundle:install # Install the current Bundler environment.
cap check:revision # Make sure local git is in sync with remote.
cap delayed_job:restart # Restart the delayed_job process
cap delayed_job:start # Start the delayed_job process
cap delayed_job:stop # Stop the delayed_job process
cap deploy # Deploys your project.
cap deploy:assets:clean # Run the asset clean rake task.
cap deploy:assets:precompile # Run the asset precompilation rake task.
cap deploy:check # Test deployment dependencies.
cap deploy:cleanup # Clean up old releases.
cap deploy:cold # Deploys and starts a 'cold' application.
cap deploy:create_symlink # Updates the symlink to the most recently deployed application
cap deploy:install # Install everything onto the server
cap deploy:migrate # Run the migrate rake task.
cap deploy:migrations # Deploy and run pending migrations.
cap deploy:pending # Displays the commits since your last deploy.
cap deploy:pending:diff # Displays the `diff' since your last deploy.
cap deploy:rollback # Rolls back to a previous version and restarts.
cap deploy:rollback:code # Rolls back to the previously deployed version.
cap deploy:setup # Prepares one or more servers for deployment.
cap deploy:symlink # Deprecated API. cap deploy:update # Copies your project and updates the symlink.
cap deploy:update_code # Copies your project to the remote servers.
cap deploy:upload # Copy files to the currently deployed version.
cap deploy:web:disable # Present a maintenance page to visitors.
cap deploy:web:enable # Makes the application web-accessible again.
cap invoke # Invoke a single command on the remote servers.
cap monit:install # Install Monit
cap monit:setup # Setup all Monit configuration
cap monit:nginx # only setup nginx
cap monit:postgresql # only setup pgsql
cap monit:unicorn # only setup unicorn
cap nginx:install # Install latest stable release of nginx
cap nginx:restart # restart nginx
cap nginx:setup # Setup nginx configuration for this application
cap nginx:start # start nginx
cap nginx:stop # stop nginx
cap nodejs:install # Install latest Node.js
cap postgresql:create_database # Create a database for this application.
cap postgresql:install # Install the latest stable release of Postgres
cap postgresql:setup # Generate the database.yml configuration file.
cap postgresql:symlink # Symlink the database.yml file into latest release
cap rbenv:install # Install rbenv, Ruby, and bundle
cap shell # Begin an interactive Capistrano session.
cap unicorn:restart # restart unicorn
cap unicorn:setup # Setup Unicorn initializer and app configuration
cap unicorn:start # start unicorn
cap unicorn:stop # stop unicorn

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.