You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ibnu hamdani
bafe3872a5
|
3 years ago | |
---|---|---|
public | 3 years ago | |
src | 3 years ago | |
.editorconfig | 3 years ago | |
.env | 3 years ago | |
.gitignore | 3 years ago | |
API_GeoHR_docs.md | 3 years ago | |
CHANGELOG.md | 3 years ago | |
CONTRIBUTING.md | 3 years ago | |
CRA.md | 3 years ago | |
ISSUE_TEMPLATE.md | 3 years ago | |
LICENSE | 3 years ago | |
REACT.md | 3 years ago | |
README.md | 3 years ago | |
README_COREUI_TEMPLATE.md | 3 years ago | |
package.json | 3 years ago |
README.md
GeoHR Installation
# clone the repo
$ git clone https://git.oslog.id/iu/GeoHR-website.git
# go into app's directory
$ cd GeoHR-website
# install app's dependencies
$ npm install
# fix dependency
$ npm fix audit
# start project
$ npm start
API Documentation
Here is the API Documentation.
GeoHR Build to Production
# build the project
$ npm run build
# zip the files inside build folder -> name it as build.zip
# copy the zip file to server
$ scp -rP 2001 build/build.zip dev@202.47.70.196:/var/www/html/geohr
# login to dev@202.47.70.196
$ ssh dev@202.47.70.196 -p 2001
# go to geohr folder
$ cd /var/www/html/geohr
# unzip the build.zip
$ unzip build.zip
# if prompt shown, choose [A] to replace all existing files
[dev@oscarp geohr]$ unzip build.zip
Archive: build.zip
replace favicon.ico? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
inflating: favicon.ico
...
# remove build.zip file
$ rm -rf build.zip
# DONE !
# Open siopas.co.id/geohr
# Don't forget to shift+reload on browser