0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

SmashingをUbuntuで起動させる

Posted at

概要

Dashingの後継であるSmashingをUbuntuで起動させるまでに、いろいろとエラーを解消しながら行いました。
その記録です。

環境

  • Ubuntu22.04
  • ruby 3.0.2
  • Smashing 1.3.6

インストールの大まかな手順

  1. Ubuntuのセットアップ
  2. rubyのインストール
  3. OpenSSLのインストール
  4. NodeJSのインストール
  5. Smashingのインストール

基本的に以下の公式ページに手順が書いてあります。
Installation

rubyのインストール

sudo apt-get install ruby-full

OpenSSLのインストール

apt install build-essential libssl-dev

NodeJSのインストール

JavascriptのRuntimeが必要なためインストールします。
こちらは公式ページの手順には書いてなかったのですが、Issueにありました。

apt-get install nodejs

Smashingのインストール

# Install bundler
gem install bundler
# Install smashing
gem install smashing
# Create a new project
smashing new my-project
# Change Directory into the project
cd my-project
# Install the bundle of project specific gems
bundle
# Start the example dashboard!
smashing start

以上です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?