Angular Onboard project using Typescript+Jade+Stylus+Gulp
Reference: check Onboard guide to have a detailed step-to-step of this project.
This project uses EditorConfig to maintain consistent coding style. Please install EditorConfig plugin.
To build/run this project, firstly follow these instructions:
- Ensure you have and selected a compatible node version by running
nvm list - Make sure you have Bower and Gulp installed globally by running
npm list -g- if you don't have, install by running
npm install -g bowerandnpm install -g gulp
- if you don't have, install by running
- Install all dependencies by running
npm installandbower install(npm might take a long, so be sure to do it in strategical hours)
- to install a node version run
nvm install x.y.zwherex.y.zis the version - to select an installed version, run
nvm use x.y.z(if you have a unique version installed, i.e one v5 series, you can abbreviate this command by runningnvm use 5instead ofnvm use 5.7.1) - every time you open a new terminal, the system selects the
defaultnode version, you can change the default version by aliasing the version you wantnvm alias default x.y.z - you can short the list npm displays by adding
--depth=0to list command (i.enpm list --depth=0)
node 5.7.1+bower 1.7.9+gulp 3.9.1+npm 3.6.0
- In order to do something, we had to install this2.
- As solution to bug-thing we updated that to v2.
To run the app, follow these:
- run
gulp serve
To test feature A, run this code then make these actions...
To build a distribution pack, follow these:
- run
gulp buildorgulp serve:dist
You can select the configuration you want to use by using env arg when running a gulp command.
There are 3 available configurations: development, staging and production. If no arg is passed, development is selected automatically.
Examples:
gulp servegulp serve --env staginggulp build --env production
Note: Use this area to describe problems regarding the management aspect of the project, it is highly important is to include possible solutions and alternatives to all problems
- Process
- Scope changed every sprint. Solution: Separate projet into several phases
- Client issues
- Client never did this or that. Solution: Change client
- Client ...
- JS
- Framework didn't allow this or that. Solution: use alternative framework X
- Ruby
- Database driver couldn't do this or that. Solution: Changed the database scheme to X and Y
- Several issues regarding this or that
- Constant erro while executing script X
- Clean and build project
- Constant erro while executing script Y
- Clean and build project