GithubHelp home page GithubHelp logo

hack2save-team8's Introduction

HACK2SAVE@Team8

Requirements:

Clone the repository

First, clone the repository: $ git clone https://github.com/dfmoreto/hack2save-team8.git

then cd into hack2save-team8 $ cd hack2save-team8

Set Rails configs

Set the sample configs for rails: $ cp .env.sample .env $ cp config/database-sample.yml config/database.yml

Set docker container

Pull and build docker containers for project: $ docker-compose build $ docker-compose run web rails db:create db:migrate db:seed

Set Facebook keys

Ask for permission on facebook dev app. After granting access, open the .env file inside your favorite editor and set Facebook_APP_ID and Facebook_Secret_ID.

Start Docker container

Then start the container: $ docker-compose up

Then navigate with your browser to localhost:3000, login with

username: [email protected]
password: '123456'

and have some fun!

To enter the container environment: $ docker-compose run web bash

Remember that all the files created inside the container will belong to root.

FAQ

Some files generated by Rails inside container may require changing permission access to edit. This can be bypassed with:

// Please use the command below with CAUTION, since it will change the ownership
of everything inside your current folder RECURSIVELY.

$ sudo chown -R <your_username> .

hack2save-team8's People

Contributors

moretoend avatar rhiroyuki avatar iujisato avatar riksilvap avatar

Stargazers

Cirillo Ferreira avatar  avatar Rodrigo Muniz avatar

Watchers

 avatar James Cloos avatar Cirillo Ferreira avatar  avatar  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.