I had a class involving WebStorm last semester and today I tried to access my final project, in which I type ng serve into a terminal window to start a server, then copy/paste an HTTP: link into my browser.
The problem is, I don't remember how to stop the server from running. I'm sure it's another command I type in the terminal, I just cant remember or find it online.
Related
I'm new in Linux world and recently start messing around with ubuntu server. For week or so I was able to understand the basics and now I'm shooting for more difficult tasks like setting up web server, ssh and SVN.
The question is: how to set url to be visible like svn://......../....
I found this and the book http://svnbook.red-bean.com/en/1.7/svn.serverconfig.svnserve.html perhaps i'm not doing something right:
svnserve as daemon
The easiest option is to run svnserve as a standalone “daemon” process. Use the -d option for this:
$ svnserve -d
$
# svnserve is now running, listening on port 3690
When tape this line and restart the service apache2 nothing changes. And I'm not sure is this the way to make it.
When tape this line and restart the service apache2 nothing changes
Apache in any way does not related to handling svn:// protocol
Quote from referenced by you page of SVN Book
Once we successfully start svnserve as explained previously, it makes
every repository on your system available to the network. A client
needs to specify an absolute path in the repository URL. For example,
if a repository is located at /var/svn/project1, a client would reach
it via svn://host.example.com/var/svn/project1.
(Bolded parts is important)
I'm following the dart web service tutorial here:
http://www.dartlang.org/articles/json-web-service/
When I try to run the code from the associated git code https://github.com/chrisbu/dartlang_json_webservice_article_code
I get the following error.
Loading structured data
Failed to load resource
http://127.0.0.1:8080/programming-languages
Uncaught Error: Instance of 'HttpRequestProgressEvent'
Exception: Instance of 'HttpRequestProgressEvent'
From the readme https://github.com/chrisbu/dartlang_json_webservice_article_code/blob/master/README.md
it suggests that I need to
To execute, either run:
dart simpleserver.dart
Load the project into the Dart Editor, and click "Run"
This starts the server listening on http://localhost:8080
Where do I need to run the
dart simpleserver.dart
command? Is there any other local server setup requirements that I could be missing? Thanks, (Windows 8 Pro)
I can reproduce your error message if I run the client in a browser without starting the server first. As noted in the documentation you included (but didn't seem to understand), you have two ways to run the server: from the command line or from Dart Editor. If you're using Dart Editor:
Load simpleserver/simpleserver.dart in Dart Editor, then click the 'Run' button.
Load json_clien/web/json_client.dart in Dart Editor, then click the 'Run' button.
That will load json_client.html in the bundled Dartium browser and everything should work.
If you prefer to use the command line (which it sounds like you don't), navigate to the simpleserver directory, then run dart simpleserver.dart. Then manually load json_clien/web/json_client.html in Dartium.
Both ways work for me with Dart 0.5.13.1_r23552 on Linux.
Every time I build my site with Jekyll through the terminal (Mac), everything works fine but theses lines show up:
[2013-02-21 16:17:38] INFO WEBrick 1.3.1
[2013-02-21 16:17:38] INFO ruby 1.8.7 (2012-02-08) [universal-darwin11.0]
[2013-02-21 16:18:38] INFO WEBrick::HTTPServer#start: pid=897 port=4000
Then I'm unable to enter anything – the little grey square is displayed, but not the name of my computer followed by a semicolon as usual. If I want to type something again, I need to close/reopen the terminal window with this message:
"Closing this window will terminate the running processes: login, bash, ruby."
Please, note that I'm not a terminal stuff expert ;-)
What command are you using to build the site? What you see on those 3 lines is a local webserver that is running and serving your site. If you are running jekyll --server you'll get this webserver; open localhost:4000 in your browser and you'll see your site.
If you just want to generate the site, just run jekyll without the --server flag.
In the terminal you can cancel any running processes, such as the webserver, by pressing Ctrl-C. That way you don't need to close the window if you accidentally run the wrong command.
I am very new to plone. I have a project folder in eclipse. I have imported it from the cvs project. I have zope as server and I start zope with ./bin/instance restart. When I make changes in my folder, I cannot see the changes in the development website. I can't seem to find what is happening. I even restarted zope after making changes in python. Can anyone help me with this?
Make sure you start your Zope server with bin/instance fg, most likely the name of the script if you used the Plone universal installer buildout.
To see changes in python code you'll either need to restart the server (CTRL-C then start again) or use something like plone.reload to request a reload of changed code.
When starting your server with the fg command, it is automatically running in debug mode and any templates, resources and skin items are reloaded automatically. Start the server with console or start and it'll run in production mode and templates and such are loaded from disk only once.
See the Plone.org documentation on buildout for more information.
The bin/instance command has a built-in help command, try:
bin/instance help
for a list of supported commands or run:
bin/instance help console
to get help on a specific command; the above example will print the help on the console command.
I'm a Jetty newb, but it's making life hell. First there was an Eclipse problem I described in another question. Rather than waste time on it, I decided to just run Jetty from the console. I started off importing a sample Tapestry project and was able to run it fine... the project is on the Tapestry page and is called tutorial1
I began work on my own project then and began introducing new functionality to it. At some point it stopped working. I tried backtracking my project to get it to a working state but every time I requested the home page it would just hang. At this point I still thought it was my fault, though I did think a more graceful error message would have been nice than the it attempting to load for a minute followed by a server timeout error.
I then shutdown jetty and attempted to load up the imported sample project using mvn jetty:run in my tutorial1 project directory. it doesn't work either! When I try going to localhost:8080/tutorial1 or the URL of my project the jetty console does show any output, almost as if it's not receiving the request.
I rebooted my entire machine but that doesn't help. I am not familiar with jetty architecture and am unsure if there is a way I can purge all my files from the jetty web application directory.
Any ideas?
Cliffs Notes:
Downloaded Tapestry Archetype project with maven.
Executed jetty from the command line using mvn jetty:run
Started new project
Executed jetty from the command line using mvn jetty:run
Modified new project
Error occurred, attempted fix and restarted Jetty (Ctrl + C, followed by mvn jetty:run)
Jetty restarted, but did not seem to handle requests for any pages
Tried starting jetty from Archetype project, experienced the same problem
If your project didn't deploy correctly, jetty won't serve any pages (they will either return 404 or some error in the 500s).
Look at the log folder and check if it is getting correctly deployed.