Skip to content

rubizza-camp/nicher-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

Installation

  1. Setup PostgreSQL

https://www.digitalocean.com/community/tutorials/postgresql-ubuntu-16-04-ru

  1. Install gem pg:
# Install gem pg
$ sudo apt-get install libpq-dev
$ gem install pg  --   --with-pg-lib=/usr/lib
  1. Install yarn

https://yarnpkg.com/lang/en/docs/install/#debian-stable

$ yarn install --check-files
  1. Then, in your project directory:
$ bundle install
$ rake db:create
$ rake db:migrate
  1. Run application:
$ foreman start -f Procfile.dev -p 3000
  1. Install eslint for checking react and js files
$ npm install -g eslint
$ npm install eslint-plugin-react@latest --save-dev

Then run:

$ eslint [options] file.js [file.js] [dir]
  1. Install query-string for parse in react
npm install query-string
  1. Install dotenv for emv variables in react
npm install dotenv --save

Compatibility

  • Ruby 2.6.3
  • Rails 5.2.3
  • PostgreSQL 11.4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published