Skip to content

CodeF53/react_rails_chat

Repository files navigation

React + Rails Template

Development

Start API:

rails s

Start Web:

npm start

Deploying

On wherever you want to host:

Installing requirements:

Install required stuff:

TODO: do this later

Nginx setup:

TODO: later

Starting your server for the first time

Git clone your repo you made from this one:

git clone URL

Update config/schedule.rb so USERNAME and FULL_PATH_TO_REPO are correct

Add a task to automatically run the server on startup:

whenever -w

Build

bin/build.sh

Restart your server

Updating the server

Git pull your latest changes

git pull

If this fails because of you dont have enough in your .gitignore, temporarily fix by doing git stash.

Build

bin/build.sh

About

small repo for me to learn Action Cable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published