Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/invisal/khmer-handwriting
https://github.com/invisal/khmer-handwriting
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/invisal/khmer-handwriting
- Owner: invisal
- Created: 2019-09-18T11:27:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-06T19:42:17.000Z (over 1 year ago)
- Last Synced: 2024-10-19T07:06:31.277Z (3 months ago)
- Language: JavaScript
- Size: 1.12 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to Slash!
Hi! I am preparing this **Repo** because I would like all of you to getting start project quickly. You can have a choice to choose for and extend based on your need. I prepared with 3 different types.
- **master** branch is the raw folder structure that can use to build web with template engine *numjuck* and build simple api.# Getting started
## Install
```
$ cd base
$ cp env.sample .env
$ npm i
```## Development
```
# start with nodemon
$ npm start
# start without nodemon
$ npm run start:dev
```# Build
Build with *Docker* and *Elastic Beanstalk*.
## Docker
```
## build docker images
docker build -t name:tag .
## list docker images
docker images
## run docker image
docker run -p port:port image-name-or-id
## run docker image with daemon mode
docker run -p port:port -d image-name-or-id***** example *****
## build docker images
docker build -t base:v0.1 .
## list docker images
docker images
## run docker image
docker run -p 3000:3000 base:v0.1
## run docker image with daemon mode
docker run -p 3000:3000 -d base:v0.1```
## Elastic Beanstalk
```
# Build docker tag against ECR
docker build -t 443536660676.dkr.ecr.eu-central-1.amazonaws.com/aksor:v0.0.1 .
# run docker in local
eb local run
# login ECR, you can view command in ERC
$(aws ecr get-login --no-include-email --region eu-central-1)
# push docker image to eb
docker push 443536660676.dkr.ecr.eu-central-1.amazonaws.com/aksor:v0.0.1
# deploy to eb with label
eb deploy -l "v0.0.1"
# remote ssh to eb instance
eb ssh
```## Docker extra commands
In this section, you can find the useful commands for docker that can help you solve some problem when you get full of storage space and cache issue.
```
# delete docker image with text, you can replace text to specific name.
docker rmi $(docker images | grep text | tr -s ' ' | cut -d ' ' -f 3)
#build docker no cache
docker build --no-cache -t base:v0.1 .
```# Noted
you can note down all the problem and answer during developing. so we can then tell to another developer.
# Version Release Notes
below is the change of **Version**
### v0.0.1
- canvas