Skip to content

Commit 35d8a36

Browse files
added cicd and updated read me (#6)
* added cicd and updated read me * Update README.md * Update README.md Co-authored-by: Harshad <codedthemes@gmail.com> Co-authored-by: ct-dixit <106728438+ct-dixit@users.noreply.github.com>
1 parent 38f01e2 commit 35d8a36

4 files changed

Lines changed: 83 additions & 19 deletions

File tree

.github/workflows/prod.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Prod - Deploy
2+
3+
# Controls when the action will run.
4+
on:
5+
# Triggers the workflow on push or pull request events but only for the master branch
6+
push:
7+
branches:
8+
- master
9+
pull_request:
10+
types:
11+
- closed
12+
branches:
13+
- master
14+
15+
jobs:
16+
if_merged:
17+
if: github.event.pull_request.merged == true
18+
name: 🎉 Deploy
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- name: 🚚 Get latest code
23+
uses: actions/checkout@v2
24+
25+
- name: Install Node.js 18
26+
uses: actions/setup-node@v1
27+
with:
28+
node-version: "18.x"
29+
30+
- name: 🔨 Build Project
31+
run: |
32+
npm i
33+
npm run build-prod
34+
35+
- name: 📂 Deploy to Server
36+
uses: easingthemes/ssh-deploy@v2.1.5
37+
env:
38+
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
39+
# ARGS: "-rltgoDzvO --delete"
40+
SOURCE: "dist"
41+
REMOTE_HOST: 217.21.92.35
42+
REMOTE_USER: u778408432
43+
REMOTE_PORT: "65002"
44+
TARGET: domains/codedthemes.com/public_html/demos/admin-templates/datta-able/angular/free
45+
EXCLUDE: "/node_modules/"

README.md

Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Datta Able angular 15 Free Admin Dashboard
22

3-
Datta Able dashboard template built using angular 15 with bootstrap 5 framework, It is a free lite version of [Datta Able Angular](https://codedthemes.com/item/datta-able-angular-lite) Dashboard Template will complete your admin dashboard needs.
3+
Datta Able dashboard template built using angular 15 with bootstrap 5 framework, It is a free lite version of [Datta Able Angular](https://codedthemes.com/item/datta-able-angular/) Dashboard Template will complete your admin dashboard needs.
44

55
Datta Able Angular Free Admin Template comes with variety of components like Button, Badges, Breadcrumb, Pagination, Collapse, Tabs & Pills, Form Elements, Table, Charts & Authentication Pages.
66

@@ -20,7 +20,7 @@ Check out live preview of Datta Able Angular Lite version & download it.
2020

2121
#### Preview
2222

23-
- [Demo](http://lite.codedthemes.com/datta-able/angular/dashboard/default)
23+
- [Demo](https://codedthemes.com/demos/admin-templates/datta-able/angular/free)
2424

2525
#### Download
2626

@@ -33,7 +33,7 @@ Datta Able Admin Template is available to purchase. Visit its numerous demos and
3333

3434
#### Preview
3535

36-
- [Demo](http://html.codedthemes.com/datta-able/angular/default/dashboard/default)
36+
- [Demo](https://codedthemes.com/demos/admin-templates/datta-able/angular/default/)
3737

3838
#### Download
3939

@@ -62,13 +62,13 @@ git clone https://github.com/codedthemes/datta-able-free-angular-admin-template.
6262

6363
#### Terminal Commands
6464

65-
This project was generated with Angular CLI version 9.0.2 and angular 15.x.
65+
This project was generated with Angular CLI version 15.x and angular 15.x.
6666

6767
1. Install NodeJs from [NodeJs Official Page](https://nodejs.org/en)
6868
2. Open Terminal.
6969
3. Go to your file project.
7070
4. Make sure you have installed [Angular CLI] (https://github.com/angular/angular-cli) already. If not, please install.
71-
5. Install node modules, Run in terminal: npm install
71+
5. Install node modules, Run in terminal: npm install --legacy-peer-deps
7272
6. Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
7373

7474
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README] (https://github.com/angular/angular-cli/blob/master/README.md).
@@ -77,24 +77,41 @@ _no other dependencies required to run the Datta Able Admin Dashboard_
7777

7878
## Online Documentation
7979

80-
Datta Able Lite version documentation cover in its Pro version documentation - check our [website.](http://html.codedthemes.com/datta-able/angular/docs)
80+
Datta Able Lite version documentation cover in its Pro version documentation - check our [website.](https://codedthemes.gitbook.io/datta-angular)
8181

8282
## Build With
8383

84-
- [Angular CLI](https://github.com/angular/angular-cli) 9.0.2
84+
- [Angular CLI](https://github.com/angular/angular-cli) 15.x
8585
- [Latest bootstrap 5 Stable](https://getbootstrap.com/)
8686
- [SASS Powered](https://sass-lang.com/)
87-
- [NodeJs](https://nodejs.org/en/) v12.0.0
87+
- [NodeJs](https://nodejs.org/en/) v18.0.0
8888
- [NgBootstrap](https://ng-bootstrap.github.io/#/home) 5.0.0
8989

9090
## Directory Structure
9191

9292
```
9393
datta-able/
94-
├── e2e
9594
| ├── src/
96-
| | ├── app/
95+
| | ├── app/
9796
| | | ├── demo/
97+
| | | | ├── dashboard/
98+
| | | | ├── extra/
99+
| | | | | ├── sample-page/
100+
| | | | ├── pages/
101+
| | | | | ├── authentication/
102+
| | | | | | ├── auth-signin/
103+
| | | | | | ├── auth-signup/
104+
| | | | | ├── core-chart/
105+
| | | | | | ├── crt-morris/
106+
| | | | | ├── form-element/
107+
| | | | | | ├── basic-element/
108+
| | | | | ├── tables/
109+
| | | | | | ├── tbl-bootstrap/
110+
| | | | ├── ui-element/
111+
| | | | | ├── basic-badge/
112+
| | | | | ├── basic-button/
113+
| | | | | ├── basic-collapse/
114+
| | | | | ├── more...
98115
| | | ├── theme/
99116
| | | | ├── layout/
100117
| | | | | ├── admin/
@@ -107,10 +124,10 @@ datta-able/
107124
| | | | | | ├── admin.component.html
108125
| | | | | | ├── admin.component.ts
109126
| | | | | | ├── admin.component.scss
110-
| | | | | ├── auth/
127+
| | | | | ├── guest/
111128
| | | | ├── shared/
112129
| | | | | ├── components/
113-
| | | | | | ├── button/
130+
| | | | | | ├── breadcrumb/
114131
| | | | | | ├── ...
115132
| | | | | | ├── index.ts
116133
| | | | | ├── full-screen/
@@ -122,9 +139,9 @@ datta-able/
122139
| | | ├── app-config.ts
123140
| | | ├── app-routing.module.ts
124141
| | ├── assets/
125-
| | | ├── fonts/
142+
| | | ├── charts/
126143
| | | ├── images/
127-
| | | ├── tinymce/
144+
| | | ├── icon/
128145
| | ├── environments/
129146
| | ├── fake-data/
130147
| | ├── scss
@@ -148,13 +165,13 @@ datta-able/
148165
├── ... More
149166
```
150167

151-
####RoadMap
168+
#### RoadMap
152169

153170
We are continuously working in Datta Able Angular Project and going to make it a awesome angular admin dashboard template via your support. Give us the ideas, suggestion for include more components, pages, plugins. Few of future release pages are
154171

155172
#### Layouts
156173

157-
- Vertical version
174+
-Vertical version
158175
- Static
159176
- Fixed
160177
- Navbar Fixed
@@ -174,6 +191,7 @@ We are continuously working in Datta Able Angular Project and going to make it a
174191
- Login/Register pages version 2
175192
- User profile
176193
- Maintenance Pages like Error Pages, Offline UI, Maintenance
194+
- Login/Register pages
177195

178196
#### Basic & Advance Components
179197

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "datta-able-free-angular-admin-template",
3-
"version": "1.1.0",
3+
"version": "2.2.0",
44
"author": "CodedThemes",
55
"scripts": {
66
"ng": "ng",
77
"start": "ng serve",
88
"build": "ng build",
9+
"build-prod": "ng build --configuration production --base-href /demos/admin-templates/datta-able/angular/free/",
910
"watch": "ng build --watch --configuration development",
1011
"test": "ng test"
1112
},

0 commit comments

Comments
 (0)