|
||||
---|---|---|---|---|
app | ff395a0f88 | лет %!s(int64=10): %!d(string=назад) | ||
bin | def60a0d18 | лет %!s(int64=10): %!d(string=назад) | ||
config | 237b744acc | лет %!s(int64=10): %!d(string=назад) | ||
db | d145622774 | лет %!s(int64=10): %!d(string=назад) | ||
features | bf9725dae7 | лет %!s(int64=10): %!d(string=назад) | ||
lib | 21d338e40d | лет %!s(int64=10): %!d(string=назад) | ||
public | 7ec21c1fa6 | лет %!s(int64=10): %!d(string=назад) | ||
script | dbf9621e94 | лет %!s(int64=10): %!d(string=назад) | ||
spec | 82f1b72319 | лет %!s(int64=10): %!d(string=назад) | ||
test | d1f7d78c7d | лет %!s(int64=10): %!d(string=назад) | ||
vendor | def60a0d18 | лет %!s(int64=10): %!d(string=назад) | ||
.gitignore | b238330003 | лет %!s(int64=10): %!d(string=назад) | ||
Gemfile | 800f0e4b9c | лет %!s(int64=10): %!d(string=назад) | ||
Gemfile.lock | 800f0e4b9c | лет %!s(int64=10): %!d(string=назад) | ||
Procfile | d1fe9cab7f | лет %!s(int64=10): %!d(string=назад) | ||
Rakefile | c579b5d55b | лет %!s(int64=10): %!d(string=назад) | ||
config.ru | def60a0d18 | лет %!s(int64=10): %!d(string=назад) | ||
dump.rdb | 237b744acc | лет %!s(int64=10): %!d(string=назад) | ||
readme.md | 8dd074940f | лет %!s(int64=10): %!d(string=назад) |
Second prototype source code of the avalanche network web app.
https://github.com/jamesperet/rails_website_template.git
config/database.yml
rake db:migrate
rake bootstrap:all
to configure the website and create a admin userconfig/application.yml
with all env variablesapp/assets/javascript/google_analytics.js.coffe
rails server -p 3000
admin@website.com
with the password 12345678
heroku create new-app-name
figaro heroku:set -e production
to copy env variables from config/application.yml
and set them in herokuheroku addons:add heroku-postgresql
to create and configure a postgres database in heroku serverheroku addons:add redistogo
git push heroku master
to deploy the repoheroku run rake db:migrate
heroku run rake bootstrap:all
AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:
AWS_S3_BUCKET:
AWS_S3_BUCKET_REGION:
HEROKU_APP_URL:
MANDRILL_USERNAME:
MANDRILL_KEY:
DOMAIN_NAME:
SERVER_EMAIL:
DEVISE_SECRET_KEY:
SECRET_KEY_BASE:
MAILCHIMP_KEY:
MAILCHIMP_LIST_ID:
REDISTOGO_URL: