【文件属性】:
文件名称:annict:使用Rails和Stimulus.js构建的动漫迷平台
文件大小:7.84MB
文件格式:ZIP
更新时间:2021-02-02 04:21:30
ruby rails anime social-network rails-application
Annict(アニクト)
动漫迷的平台。
要求
要在本地计算机上运行Annict,需要安装以下依赖项:
2.7.1
运行应用
$ sudo sh -c "echo '127.0.0.1 annict.test' >> /etc/hosts"
$ sudo sh -c "echo '127.0.0.1 annict-jp.test' >> /etc/hosts"
$ git clone git@github.com:annict/annict.git
$ cd annict
$ bundle install
$ touch .env.development.local
$ bundle exec rails db:setup
$ docker-compose up --build
$ bundle exec rake jobs:work
$ bundle exec rails s
然后,您应该能够在浏览器中打开 (或 )。
运行测试
// Run all tests
$ bundle exec rspec
// Run system spec with headless bro