Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
web-app
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
custom-apps
web-app
Commits
d61a6744
Commit
d61a6744
authored
7 years ago
by
FORESTIER Fabien
Browse files
Options
Downloads
Patches
Plain Diff
Create readme file
parents
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
readme.md
+68
-0
68 additions, 0 deletions
readme.md
with
68 additions
and
0 deletions
readme.md
0 → 100644
+
68
−
0
View file @
d61a6744
## Requirements
### Node.js
For this project the version of node.js used is
[
v8.10.0
](
https://nodejs.org/dist/v8.10.0/
)
(
all
downloadable links)
### Angular CLI
Download and install globally the
[
Angular CLI
](
https://cli.angular.io/
)
`npm install -g @angular/cli@1.7.3`
### Loopback
Install
[
Loopback
](
https://loopback.io/
)
using the following command:
`npm install -g loopback-cli@4.1.0`
### Fireloop
Install
[
Fireloop
](
https://github.com/mean-expert-official/fireloop.io
)
:
`npm install -g @mean-expert/fireloop@1.0.0-beta.2.7`
## Initializing a new project
`fireloop`
The first time it will geerate the Loopback server.
`fireloop`
The second time it will generate the angular project
## Installing Angular Material
[
HowTo
](
https://material.angular.io/guide/getting-started
)
Step 1 and 2, Step 3 is a little different as we create a specific module that import every components we need from Material
## Configure Angular to use scss
### When generating project
`ng new my-app --style=scss`
### When project already exists
`ng set defaults.styleExt scss`
then modify every extension .css to .scss
## Use Bootstrap Grid
Download the
[
Boostrap sources
](
https://getbootstrap.com/docs/4.0/getting-started/download/#source-files
)
(
not
compiled files).
Create a "scss" folder at /src/. Put the Boostrap sources inside it
Clean what you don't need: keep bootstrap-grid.scss with the files & folders imported:
@import "functions";
@import "variables";
@import "mixins/breakpoints";
@import "mixins/grid-framework";
@import "mixins/grid";
@import "grid";
@import "utilities/display";
@import "utilities/flex";
Import the bootrap-grid.scss in your style.scss
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment