Coder Social home page Coder Social logo

rails-boilerplate-test's Introduction

README

Installing the project

Using docker and docker-compose

$ docker-compose build web # builds the container according to the Dockerfile
$ docker-compose run web bin/setup # executes a script that install missing ruby dependencies and prepares the database

Without docker

  • macOS users should install and use homebrew
  • You will need a working rbenv installation, follow its readme for instructions and shell integration
  • You will need sqlite to be available for your system. macOS users should have it by default. For linux based OS, it may vary. To install is on debian/ubuntu: apt-get install -y sqlite3 libsqlite3-dev

There should be no other system dependencies for running this projects. Once those are installed:

  • $ bin/setup # executes a script that install missing ruby dependencies and prepares the database

Starting the project

Using docker and docker-compose: $ docker-compose up

Without docker: $ bin/rails s

In both cases, opening localhost:4048 in your browser should display the rails default page, with

Running a rails or rake command

Using docker and docker-compose: $ docker-compose run web bin/rails <command>

Without docker: $ bin/rails <command>

bin/rails can invoke rake commands as well.

rails-boilerplate-test's People

Contributors

ksol avatar

Watchers

 avatar

Forkers

anouchka-m

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.