https://github.com/nikaple/blog
nikaple's blog
https://github.com/nikaple/blog
Last synced: 8 days ago
JSON representation
nikaple's blog
- Host: GitHub
- URL: https://github.com/nikaple/blog
- Owner: Nikaple
- License: mit
- Created: 2017-06-29T06:12:37.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-12-05T13:50:58.000Z (over 6 years ago)
- Last Synced: 2025-11-22T22:03:52.503Z (7 months ago)
- Language: TypeScript
- Homepage: https://nikaple.github.io/blog
- Size: 1.61 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Preview
This is a MEAN stack based blog. The static version was hosted on [github pages](https://pages.github.com/), while the online version was deployed to [heroku](https://www.heroku.com/).
- static: https://nikaple.github.io/blog/
- online: https://nikaple-blog.herokuapp.com/
## Installation
```
git clone https://github.com/Nikaple/blog.git
cd blog
npm install
cd client-src
npm install
```
## Build
This project is built with `angular-cli`, you should first install it globally:
```
npm install -g angular-cli
```
For the static version, first open `client-src/src/app/utils/config.ts`, and change variable `ENV` to `'dev'`.
```
cd client-src
ng serve
```
For the online version, keep the variable `ENV` to `'prod'`. To start the server, run:
```
npm start
```
Open up a new shell window, run:
```
cd client-src
ng serve
```
## License
MIT.