Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

Latest commit

 

History

History
62 lines (41 loc) · 1.11 KB

README.md

File metadata and controls

62 lines (41 loc) · 1.11 KB

Lottery

A lottery application on egg

Installation

Clone this repository to get lottery:

$ git clone [email protected]:jinhucheung/lottery.git

Then copy configurations:

$ cd lottery
$ cp database/config.json.example database/config.json

And execute:

$ yarn install

Then do migrate:

$ npx sequelize db:create
$ npx sequelize db:migrate
$ npx sequelize db:seed:all

Usage

Start application:

$ yarn run dev

Thanks

Contributing

Bug report or pull request are welcome.

  1. Fork it
  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)

Please write unit test with your code if necessary.

License

The repository is available as open source under the terms of the MIT License.