启动和运行JS3环境(或至少是couchdb)需要做什么?

时间:2023-01-24 12:55:46

I'm primarily a front-end coder but I'm not a stranger to server-side programming or the command line. Regardless I've still got a lot to learn about setting up servers and whatnot so I was wondering if anyone could help me put together some steps for setting up CouchDB on (preferably) ubuntu.

我主要是一个前端编码器,但我对服务器端编程或命令行并不陌生。无论我还有很多东西需要学习如何设置服务器等等,所以我想知道是否有人可以帮助我整理一些步骤来设置(最好)ubuntu上的CouchDB。

That's my main goal but I'd also like to get the 'JS3' environment going if possible. See this post for more info.

这是我的主要目标,但我也希望尽可能让'JS3'环境继续下去。有关详细信息,请参阅此帖子。

The things I struggle with most are knowing what packages I need to install and how to get it so I can work in my browser on localhost. Thanks for any pointers you can give me.

我最挣扎的事情是知道我需要安装什么软件包以及如何获取它以便我可以在我的浏览器上使用localhost。感谢您给我的任何指示。

1 个解决方案

#1


Packages are very dependant on the Operating System Flavor you use. On Freebsd you could go with

包非常依赖于您使用的操作系统风味。在Freebsd你可以去

cd /usr/ports/www/helma ; make install clean
cd /usr/ports/databases/couchdb ; make install clean

and you have all the relevant software on your server. Then you need jQuery beeing hosted somewhere. Helma's Jetty Webserver can handle that for you.

并且您的服务器上有所有相关软件。然后你需要在某处托管jQuery beeing。 Helma的Jetty Webserver可以为您处理。

For Ubuntu I read it now comes with a couchdb package sou you can just do

对于Ubuntu,我现在读了它,你可以做一个couchdb包

sudo apt-get install couchdb

#1


Packages are very dependant on the Operating System Flavor you use. On Freebsd you could go with

包非常依赖于您使用的操作系统风味。在Freebsd你可以去

cd /usr/ports/www/helma ; make install clean
cd /usr/ports/databases/couchdb ; make install clean

and you have all the relevant software on your server. Then you need jQuery beeing hosted somewhere. Helma's Jetty Webserver can handle that for you.

并且您的服务器上有所有相关软件。然后你需要在某处托管jQuery beeing。 Helma的Jetty Webserver可以为您处理。

For Ubuntu I read it now comes with a couchdb package sou you can just do

对于Ubuntu,我现在读了它,你可以做一个couchdb包

sudo apt-get install couchdb