jaxio / celerio-angular-quickstart

Generate an Angular 5 CRUD application from an existing database schema (we provide a sample one)
Apache License 2.0
481 stars 138 forks source link

Install instructions with CORRECT versions #79

Open mosesgi opened 5 years ago

mosesgi commented 5 years ago

I'm not member who contributed to this project. I'm just new to this celerio-angular-quickstart project and interested in it. When I tried to make the quickstart run successfully, many issues came out because of incorrect versions I'm using. This project is just out-of-date, and angular is involving too fast.

Here is the correct commands you should use. Please DO NOT install angular/cli before executing these commands, if you have, please uninstall it first npm uninstall -g @angular/cli

From a first console run:

git clone https://github.com/jaxio/celerio-angular-quickstart.git cd celerio-angular-quickstart/quickstart npm install -g @angular/cli@1.6.8 ng new web rm web/src/app/app.module.ts web/src/app/app.component.* web/src/styles.css mvn -Pdb,metadata,gen generate-sources mvn spring-boot:run

Then from a second console run (Reference to another thread https://github.com/jaxio/celerio-angular-quickstart/issues/72):

cd celerio-angular-quickstart/quickstart/web npm install fsevents@1.2.4 -f npm i @angular/material@5.2.0 npm i @angular/cdk@5.2.0 npm i primeng@5.2.7 npm i font-awesome //fix for style.css (quickstart\web\src\styles.css) //remove '~' sign from line 4 @import '~https://fonts.googleapis.com/icon?family=Material+Icons'; ng serve --proxy-config proxy.conf.json -o