先决条件
Ruby 2.6.6 Rails 4.2.11
建议使用rbenv或rvm
更新API
aglio -i apiary.apib -o public/developer.html
安装aglio:
npm install -g aglio
环境变量
运行此应用程序需要一些环境变量。
DATABASE_URL=postgres:// < user> : < pass> @localhost:5432 # The database URL
HOST=entourage.localhost # The Host that is used in Nginx routing if multiple app exists behind the same port
您可以从.env文件中获取这些环境变量。
要开始使用: cp .env.dist .env并填写缺少的信息!
请