Cloud9 (Rails) from Github

  1. Clone from Github
  2. Install bundle
  3. skillhub(source~,yarn install --check-files, rails webpacker:install)
  4. Create database
  5. Start the server ex. About errors (contents and countermeasures)

Clone from Github Let's clone it from Github first. Check the URL of the source code on github and enter the command as follows.

$ git clone [URL of the source code to clone]

Install bundle The clone is completed above, but since I just cloned the application from git, when I try to start the server, an error occurs. First, let's do bundle install so that the application can be run in your local environment.

$ bundle install
    1. Download YARN Type the following command. This command will even download the necessary files.
$ source <(curl -sL https://cdn.learnenough.com/yarn_install)
  1. Install YARN Install yarn with the following command.
 $ yarn install --check-files
    1. Install WEBPACKER
 $ rails webpacker:install
  1. Create database Let's create a database. The following command will create a database based on the settings in config / database.yml.
 $ rails db:create
 $ rails db:migrate

fsff

Recommended Posts

Cloud9 (Rails) from Github
Rails6 (MySQL, Ubuntu environment, Cloud9)
Aggregate Rails enums from SQL
What I learned from studying Rails
How to push from Tarminal to GitHub
Addicted to project imports from GitHub
[Today's stack # 1] Until on rails on cloud9
Environment construction of Ruby on Rails from 0 [Cloud9] (From Ruby version change to Rails installation)
From pulling docker-image of rails to launching
[Rails] Benefit from rubycop with minimal effort
[Rails] Rails new cannot be done from Docker
[Rails] How to convert from erb to haml
Call GitHub API from Java Socket API part2
Deploy heroku with Rails6 (Cloud9 + Ubuntu) + MySQL
[Rails] Assigning variables from controller to JavaScript
Get weather forecast from OpenWeatherMap in Rails