Improve readme
This commit is contained in:
parent
f3f23fc868
commit
076e4ca4fb
8
Makefile
8
Makefile
@ -13,7 +13,7 @@ install-shards:
|
|||||||
shards install
|
shards install
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: build-docker install-shards
|
install: build-docker install-shards install-assets build-assets
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build:
|
build:
|
||||||
@ -24,6 +24,9 @@ build:
|
|||||||
format:
|
format:
|
||||||
crystal tool format ./src ./spec
|
crystal tool format ./src ./spec
|
||||||
|
|
||||||
|
install-assets:
|
||||||
|
nodejs npm install
|
||||||
|
|
||||||
build-assets:
|
build-assets:
|
||||||
rm -rf ./public/assets
|
rm -rf ./public/assets
|
||||||
nodejs npm run-script build
|
nodejs npm run-script build
|
||||||
@ -39,7 +42,8 @@ run: format
|
|||||||
|
|
||||||
.PHONY: run-server
|
.PHONY: run-server
|
||||||
run-server: format
|
run-server: format
|
||||||
BASE_PATH="./tmp" server run $(ENTRY_POINT)
|
mkdir -p ./var/data
|
||||||
|
BASE_PATH="./var/data" server run $(ENTRY_POINT)
|
||||||
|
|
||||||
.PHONY: spec
|
.PHONY: spec
|
||||||
spec: format
|
spec: format
|
||||||
|
31
README.md
31
README.md
@ -1,27 +1,20 @@
|
|||||||
# Can I take a daya off?
|
# Can I take a day off?
|
||||||
|
|
||||||
TODO: Write a description here
|
[](https://circleci.com/gh/anwinged/dayoff/tree/master)
|
||||||
|
|
||||||
|
Simple app for time traking. Pet project created with Crystal, Vue.js and Circle CI.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
TODO: Write installation instructions here
|
With docker you can run
|
||||||
|
|
||||||
## Usage
|
$ make install
|
||||||
|
$ make run-server
|
||||||
|
|
||||||
TODO: Write usage instructions here
|
Next open <http://localhost:3000/?profile=profile-xyz> in browser,
|
||||||
|
where `profile-xyz` is profile name stored in `var/data` directory.
|
||||||
|
|
||||||
## Development
|
## Tests
|
||||||
|
|
||||||
TODO: Write development instructions here
|
$ make spec
|
||||||
|
$ make ameba
|
||||||
## Contributing
|
|
||||||
|
|
||||||
1. Fork it (<https://github.com/your-github-user/dayoff/fork>)
|
|
||||||
2. Create your feature branch (`git checkout -b my-new-feature`)
|
|
||||||
3. Commit your changes (`git commit -am 'Add some feature'`)
|
|
||||||
4. Push to the branch (`git push origin my-new-feature`)
|
|
||||||
5. Create a new Pull Request
|
|
||||||
|
|
||||||
## Contributors
|
|
||||||
|
|
||||||
- [your-name-here](https://github.com/your-github-user) - creator and maintainer
|
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
"format-js": "prettier --single-quote --trailing-comma es5 --write \"./assets/**/*.js\"",
|
"format-js": "prettier --single-quote --trailing-comma es5 --write \"./assets/**/*.js\"",
|
||||||
"format-vue": "prettier --single-quote --trailing-comma es5 --write \"./assets/**/*.vue\"",
|
"format-vue": "prettier --single-quote --trailing-comma es5 --write \"./assets/**/*.vue\"",
|
||||||
"format-style": "prettier --single-quote --write \"assets/**/*.scss\"",
|
"format-style": "prettier --single-quote --write \"assets/**/*.scss\"",
|
||||||
"format-md": "prettier --print-width=80 --parser=markdown --write \"source/**/*.md\""
|
"format-md": "prettier --print-width=80 --parser=markdown --write \"README.md\""
|
||||||
},
|
},
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
|
Loading…
Reference in New Issue
Block a user