Giter VIP home page Giter VIP logo

alm-mobile's Introduction

This is a fork of https://github.com/RallySoftwareLabs/alm-mobile with some new views that we hope to sell someday.

This site is currently running at https://m.rallydev.com.

How can I contribute?

We welcome pull requests, so if you would like the site to behave differently or would like to see additional functionality, you can make the code change yourself and submit a pull request.

Ready to hack? Here's how.

Clone the repo.

If you need to install node, run:

    brew update
    brew install node

To install required node modules, run:

    npm install

Then install the Grunt Command Line and Nodemon programs:

    npm install -g grunt-cli nodemon

If you need to add the npm bin directory to your PATH for grunt, run or add this to the bottom of your ~/.zshrc file:

    export PATH=$PATH:`npm config get prefix`/bin

To compile and build the application, run:

    grunt && grunt watch

In a separate terminal window, to run the application (and reload when files are changed), run:

    npm start

Application Configuration

You will need to create a config.json file to configure the ALM url. You should copy from config.json.example as a template.

Properties

  • almWebServiceBaseUrl: You should change this value if you want to point to a different Rally ALM Server URL
  • appName: You should change this value so that it is a unique name that represents your application and who your are.
  • mode: Which mode do you want to run the site in? The only currently acceptable value is "board"

Customizing Bootstrap Stylesheets

All Bootstrap stylesheet files can be found separated into:

vendor/styles/bootstrap

They're in original LESS format in order to be easily customized, and compiled together with the app build. The proper way to override any bootstrap styles or variables is to modify:

client/styles/_bootstrap.less

Do not directly modify any files in vendor/styles/bootstrap. The changes will be overwritten as we upgrade that library.

Deploying to S3

The application can easily be deployed to an Amazon S3 Bucket and served up as a static website. This is accomplished via the grunt-s3 NPM module. In order to deploy the site, you need to create and configure a grunt-aws.json file in the root directory of this repo. The grunt-aws.json.example files is given as a skeleton to start from. All you need to do is supply your S3 Access Key Id, Secret Access Key and the name of the Bucket to deploy to. Once that is done, you can run the

    grunt

command to package up the application. To deploy it, run

    grunt s3

Your bucket should be configured for Website Hosting. Here's a link to AWS Documentation to Configure a Bucket for Website Hosting. You'll want to set both the Index document and Error document to be "index.html".

Testing

Mocha

The JavaScript tests are written in mocha. A typical developer experience for building tests is to run: grunt test:server in one terminal, grunt && grunt watch in another and to open any browser to http://localhost:8900/

alm-mobile's People

Contributors

alexpukinskis avatar city41 avatar lukemueller avatar pbomb avatar waffle-with-pears avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alm-mobile's Issues

Create Wall no longer works.

After clicking 'create new wall', at the top of create.jsx I get an error - 'cannot call method map of undefined'. It's trying to map the list of projects but it doesn't have it. With the 'Adding testing infrastructure and first tests' commit earlier this week, you moved the project list fetch from app.session to Projects, and I think something may have gone wrong there.

Automatically set up my kanban based on the columns for my team

There are hundreds of options in kanbanstate. There is a project preference in Rally that knows what columns to show for my team. Several of my team members don't have the Rally skills to understand how to configure this board. I wish they could use the mobile app without having to manually configure this.

Sessions bleeding origins

If you log in to one instance of this app (i.e. wall.rallydev.com) and then later try to log into another (i.e. localhost) you get this error:

XMLHttpRequest cannot load https://rally1.rallydev.com/slm/resources/jsp/security/clear.jsp. The 'Access-Control-Allow-Origin' header has a value 'https://wall.rallydev.com' that is not equal to the supplied origin. Origin 'http://localhost:3000' is therefore not allowed access.

Using a new Incognito window solves this problem. I can't figure out where the browser is storing the origin, but I think that may be the issue.

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.