AutoRenter - Angular 1
An Angular based implementation of the AutoRenter UI.
Overview
These instructions will cover usage information for the UI.
Prerequisites
For now, the api must also be running for the UI to work properly. Please follow directions in the corresponding readme.
- Make sure the project is at a location with minimal file path length (this is especially important in a Windows environment!). For this project we strongly recommend
c:/aur/ui
as the project root. - Install Git.
- Install Node (tested on version 6.2.2)
How To
Unless otherwise noted, all terminal commands must be issued from the project's root directory.
Install project libraries
npm install
Run tests
Note that this will lint the code before running tests. No tests will run if lint errors are found.
npm test
Watch mode:
npm run test:watch
Start the app
To start the app with all debug logging enabled (recommended):
npm run dev
Browse the App
After successfully starting the UI app, you should be able to run the application by browsing to http://127.0.0.1:8080/
.
Recommended Development Workflow
The following steps describe the recommended development workflow.
- Pull from the
development
branch. - As described above:
- Install project libraries.
- Run tests.
- Start the UI.
- Browse the UI.
If you encounter problems with any of this, please see the Troubleshooting section, below.
If you are implementing a new feature, in addition to the previous steps you should:
- Create a feature branch by branching off of
development
. - Implement your feature. Note that during this process you should regularly (at least 1x/day) merge the
development
branch into your feature branch to ensure your code is staying current with work being done by the rest of the team.- Develop
- Make changes to code, scripts, unit tests, etc.
- Lint your code.
- Run the tests.
- Browse the UI.
- Repeat until you have something meaningful to commit to your feature branch.
- Commit changes to your feature branch.
- Repeat these feature implementation steps until the feature is ready to review.
- Develop
- Open a pull request to merge your feature branch into
development
.
Troubleshooting
npm "Maximum call stack size exceeded"
- Try running
npm install
again. After a few tries it will finally succeed. Usually.
Style Guide
Please refer to the team's Angular 1 Style Guide, located here.
Contributing
Please read the CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
License
This project is licensed under the MIT License - see the LICENSE file for details
Acknowledgments
- Fusion Alliance for the initiative to create a community of open source development within our ranks.