Giter Site home page Giter Site logo

rails-weather's Introduction

README

This README documents the steps are necessary to get the application up and running.

Install Ruby, NodeJS and Yarn

Use your preferred method of installing Ruby 3.2.2, NodeJS 20.9.0 and Yarn on your system - for example:

rbenv install 3.2.2
nvm install 20.9.0
brew install yarn

Set up the development environment

Clone the repository and change your working directory

git clone [email protected]:matthiase/rails-weather.git
cd rails-weather

If you are using a version manager, the correct Ruby and NodeJS versions should be used automatically. However, you may want to make sure.

ruby -v
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin21]
node -v
v20.9.0

Create the master key file in order to read secrets from the credentials file

echo YOUR_MASTER_KEY > config/master.key

Turn on caching during development

bin/rails dev:cache

Note that this command toggles the cache on and off in development mode. To disable caching, simply run it again.

Build and run the application

Install dependencies

bundle && yarn

Build the assets

yarn build && yarn build:css

Start the development server

bin/rails server

rails-weather's People

Contributors

matthiase 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.