New to Ubuntu, NodeJs, Arale

本文详细介绍了如何将Arale框架应用于Web开发中,替代原有的js文件和Bootstrap UI,以实现更高效、简洁的网页设计。通过实践步骤和案例分析,展示了Arale框架在实际项目中的应用价值。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Copy from others

$ sudo apt-get install python 

(I don't know why when I type an upgrade it ran for a long while)

(?built-in python version, the meaning the upgrade stands for)

$ sudo apt-get install build-essential 

$ sudo apt-get install gcc 

$ sudo apt-get install g++ 

$ tar -zxf node-v0.8.15.tar.gz 

$ cd node-v0.8.15 

Gerneral way to make 

$ ./configure 

$ make 

$ sudo make install 

----------------------

As I want to run this command:

$ sudo npm install spm -g

I thought npm is a part of node...

(?the relationship between these two)

Solution:

sudo+

add-apt-reposiotry ppa:richarvey/nodejs

apt-get update

apt-get install nodejs npm

(2 exp.):

1. two versions of nodejs

delete the former all and install a new one

sudo apt-get remove nodejs

 

2.  show the information( It will illustrate the conficts to you)

apt-cache show nodejs

 

Everything seems OK, go on reviewing my exam now.

PS:

I do not find the config.json, and searching for it 4 files can be found, useless for solving this problem.

{"sources": ["modules.spmjs.org"]}
 

Reference:

http://www.cnblogs.com/hwpayg/archive/2012/11/04/2753404.html

http://aralejs.org/docs/getting-started.html

 

----------------------------------------

Tired now.

I am not that interested in the framework development, but it seems that arale is quite good for my web.

Next step:

Subtituting the all the js files and Bootstrap UI with this arale framework.

 

转载于:https://www.cnblogs.com/surgod/archive/2012/12/08/2809029.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值