ananthkamath / snote

A simple web app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snote


Snote is a simple web app to take notes, built using Ruby on Rails.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them:

Setup

1. Clone the repository

git clone git@github.com:ananthkamath/snote.git && cd snote

2. Build the project

docker-compose build

3. Copy the env files

cp .env.example .env.development.local

4. Start the app

docker-compose up

5. Run the migrations

docker exec -it snote-app-1 bundle exec rake db:migrate

To Access The App On Local

Snote

To Run The Tests

You can run all the specs using the following command:

docker exec -it snote_app_1 rspec .

If you want to run a single spec, use the following pattern:

docker exec -it snote_app_1 rspec spec/controllers/notes_controller_spec.rb

To Access The Logs

You can check the development logs using the following command:

docker exec -it snote_app_1 tail -f log/development.log

Built Using

  • Ruby on Rails - The web framework used to build the app
  • Docker - Used to containerize the app
  • MySQL - The database used to store the data

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

A simple web app

License:MIT License


Languages

Language:Ruby 72.5%Language:HTML 21.3%Language:SCSS 2.9%Language:JavaScript 1.6%Language:CoffeeScript 0.6%Language:Dockerfile 0.5%Language:Shell 0.5%