Skip to content

Repository files navigation

LAST UPDATES

  • Using HAML
  • Authentification: BasicAuth and the Dotenv gem
  • New Database : PostresQl
  • New form to insert interesting links
  • Add form validation
  • Deploy on Heroku
  • Create a deployment script
  • Add Tests
  • Add filter : display only items with status true on "completed goals" page

TODO

  • Add categories feature: -> add migration file to add category field > rails generate migration AddCategoryToGoals category:string

  • Add these categories

    • implementation
    • katas
  • Add mailer

  • Add BDD test (Rspec/cucumber)

  • Add Design : front side with AngularJS

TO PUSH ON PROD (SCALINGO)

  • Create environnement variables on your scalingo dashboard (environnement tab) and put them on your config/database.yml example:

       	url: <%= ENV['DATABASE_URL'] %>
    
  • git push scalingo master

  • scalingo -a yourapp run rake db:migrate

  • Connect to a scalingo Postgresl database: scalingo -a <application name> run -e PGPASSWORD=<password> psql -U <user> -h <host> -p <port> <db> Then you can do some sql operations

OR scalingo -a <application name> run rails dbconsole

Some tips used for this project

  • import datas from your develoment db and export them into your production database scalingo -a <application name> run -e PGPASSWORD=<password> psql -U <user> -h <host> -p <port> <db> -f file_name.sql

to be completed...

About

A "fil rouge" website where i'll implement some of the knowledge i am acquiring with Simplonco

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages