Git Product home page Git Product logo

hashimalishah21 / lifetoremind Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eduqg/lifetoremind

0.0 0.0 0.0 5.63 MB

:notebook_with_decorative_cover: Rails website to help students to create career plans.

Home Page: https://lifetoremindhub.herokuapp.com/

License: BSD 3-Clause "New" or "Revised" License

Shell 0.08% JavaScript 3.51% Ruby 40.65% CoffeeScript 0.45% HTML 21.49% Dockerfile 0.07% SCSS 33.75%

lifetoremind's Introduction

LifeToRemind

Build Status

LifeToRemind is a website for career-oriented Personal Strategic Planning.

Deploys

LifeToRemind stable

LifeToRemind master

Tools and Environment

  • Ubuntu 16.04.5 LTS 64-bit
  • RVM 1.29.8
  • Ruby 2.5.5p157
  • Rails 5.2.3
  • PostgreSQL 9.5.17

Installation and Execution

In one terminal, clone the repository.

git clone https://github.com/eduqg/LifeToRemind

Open the project folder.

cd LifeToRemind

Install Ruby Version Manager (RVM) for application configuration.

Run the commands to set the correct version for the project.

rvm install 2.5.5
gem install rails -v 5.2.3
bundle install

Install Postgres to the application database.

Make the necessary migrations.

rake db:create
rake db:migrate

Run the project.

rails s

Open the browser at localhost:3000

To run the application tests:

rspec

Execution with DOCKER (Open issue)

Install Docker

Define variables

Define on: ./env_file.env

DB_USER=postgres
## The same name defined on docker-compose.yml
DB_HOST=db_ltr
## If you change default port 5432 you need to change in database.yml as well as execute a "docker-compose --build".
DB_PORT=5432
RAILS_MAX_THREADS=5
RAILS_ENV=development

Usefull Commands

## build docker-compose.yml
docker-compose build

## run deatached
docker-compose up -d

## list containers
docker ps -a

## join in the bash container
docker exec -it <container> bash

## stop container
docker stop <container>

## remove container
docker rm -f <container>

## stop all containers from docker-compose
docker-compose down

## inspect container
docker inspect <container>

## show container logs
docker logs <container>

## follow container logs
docker logs -f <container>

Execution Tests with Docker

Change enviroments

Change de value of key RAILS_ENV to test in ./env_file.env

RAILS_ENV=test

Run compose

docker-compose up -d

List containers and get "web" containerid

docker ps -a

Run tests

docker exec -it <container> bash -c "bundle exec rspec"

Become a Life to Remind Developer

To contribute to the project check the open issues. If what you want to improve or the problem you found is not already listed, create a new issue with a description of the problem. To contribute to the project send a Pull Request to the repository, it will be evaluated later.

Step 1 - Make a copy of the repository by clicking on the Fork tab.

fork

Step 2 - Download the Life to Remind project created in your account.

git clone https://github.com/SEU_USUARIO/LifeToRemind.git

Step 3 - Make changes to the code and upload it to your repository.

git add new_file.txt
git commit -m "Adding new file"
git push origin master

Step 4 - Enter your repository with the changes made and click to make the Pull Request.

pull

Step 5 - Wait for your Pull Request to be approved and congratulations on becoming a contributor to the Life to Remind Project!

Application Images

mainpage swot
status plan

Donations

No sponsors yet! Get in touch to be the first!

If you want to support @eduqg, please consider buying a coffee. Thank you for your donation!

Buy Me A Coffee

lifetoremind's People

Contributors

eduqg avatar samuelssantos avatar luchiago avatar nathandonato avatar dependabot[bot] avatar exodusactual avatar pacoluna1 avatar decabeza 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.