Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thape-cn/previous_website
Website of Tianhua Architectural Design Co., Ltd
https://github.com/thape-cn/previous_website
bootstrap3 rails6 website
Last synced: 6 days ago
JSON representation
Website of Tianhua Architectural Design Co., Ltd
- Host: GitHub
- URL: https://github.com/thape-cn/previous_website
- Owner: thape-cn
- License: other
- Created: 2019-07-06T06:57:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-17T01:59:17.000Z (10 days ago)
- Last Synced: 2024-12-17T09:06:31.045Z (10 days ago)
- Topics: bootstrap3, rails6, website
- Language: HTML
- Homepage: https://www.thape.com
- Size: 21.5 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![CircleCI](https://circleci.com/gh/thape-cn/website.svg?style=svg)](https://circleci.com/gh/thape-cn/website)
# [The THAPE official web](https://www.thape.com)
## Steps to build the local dev.
### Generate dummy settings
```
bundle install
yarn install
rails credentials:edit
```and paster below content:
```yml
aliyun:
access_key_id: a
secret_access_key: bsecret_key_base: c
wechat_appid: d
wechat_secret: e
wechat_token: f
wechat_encoding_aes_key: g
```### Migrate DB and initial DB
```yml
bundle exec rails db:create
bundle exec rails db:migrate
bundle exec rails db:seed
bundle exec rails c
irb(main):001:0> Home.create
Seo.create
ServiceFile.create
About.create
```You can also leave a message to ask the Web DB if required.