Coder Social home page Coder Social logo

vinicius-vph / task-list-with-rails Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 463 KB

This is a TO-DO list with Rails.

Home Page: https://taskandgoals.onrender.com/

Ruby 71.85% JavaScript 2.82% CSS 3.74% HTML 21.32% Procfile 0.08% Shell 0.19%
ruby ruby-on-rails

task-list-with-rails's Introduction

This is a TO-DO list with Rails.


For run this project is necessary to have:

Language/Interpreter Version
Ruby 3.0.0
Rails 6.1.3
Database Version
Postgres 13


After the step above, in your terminal run this commands


Clone the project

[email protected]:vinicius-vph/task-list-with-rails.git

Access the project directory

cd task-list-with-rails

Install ruby and rails dependencies

bundle install

Install js dependencies

yarn install

Create or run database

  • If you have docker in your pc and want create a new container with postgres image exclusive for this project, run this command
docker run --name teste-postgres -e POSTGRES_USER=test -e POSTGRES_PASSWORD=test -p 5432:5432 -d postgres

Create tables in database

rails db:migrate

Credentials of the project

  • configure the user and password for CRUD the application
# delete the file config/credentials.yml.enc
rm config/credentials.yml.enc

# run the command for create credentials e master key files using VS Code (if you use another editor change 'code' for he)
EDITOR="code --wait" bin/rails credentials:edit
  • in your editor create the fields below using your personal datas on your_name and your_password
authenticate:
  name: your_name
  password: your_password
  • Save and close the file config/credentials.yml.enc.

Run the project local

rails s

Open in your browser the address http://localhost:3000
For see in production https://vini-rails-task-list.herokuapp.com/

task-list-with-rails's People

Contributors

vinicius-vph avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.