Switching to newly created site from bench not working - erpnext

I am learning frappe framework following the tutorial on the website.
I created a new site as well as an app, after thatinstalled the new app on the newly created site, the used the command $ bench use library but i am unable to load the new site "library". but when i go to localhost:8080 i get ERPNext site. i am using Virtual Image.
I have already tried restarting bench
the currentsite.txt file contains "library"

Are you using production setup (gunicorn/nginx) or developer setup (bench start)?
If you are developing, use bench start instead of production setup.

If you want to access your site in your browser using the site name, you have to add it to /etc/hosts first.
/etc/hosts
127.0.0.1 library
Now, you can access your site at http://library:8000 in your browser.
The tutorial is now updated and explains these steps in detail:
https://frappeframework.com/docs/user/en/tutorial/create-a-site#access-site-in-your-browser

Related

how to work with a CapRover project that is already in production

How did I connect to an existing CapRover application? I have to upload the project that I have finished but to upload it to production they are using CapRover, there is already an old version of the project in production but I do not understand how to connect with it to be able to upload the new version until now I have only seen that the tutorials cover how to upload a new project from 0 but not how to work on one that already exists
i try with caprover login but i cannot
Caprover is a PAAS,you need to login into the admin url, usually captain.yyy.uuu and navigate to the app or simply ssh into the server hosting it and check for the particular container with your app.

How can i share a web app through vscode that is running locally on xampp?

A'm guessing that if "localhost:80" leads me to "http://localhost/dashboard/" i just need to find the "localhost:number" that leads me to my project but idk how to do it. snippet:
simply create a virtual host with xampp and you can share your app as you can see in the image above

What files to package Atlassian Connect Express Confluence Macro

I am trying to find what files to upload and where for my web confluence plugin. I know the atlassian-connect.json needs to be uploaded to an https:// location. Do I upload that project root direct in the same location as well as all the folders, or can I skip uploading the node_modules folder?
You need to host the whole app on a hosting platform that you choose, and yes that includes the atlassian-connect.json file. Once you upload it and have it running you can install it into your Confluence app using the url to your atlassian-connect.json file.
If you haven't already, you should go through the Getting Started guide on the docs. This will walk you through setting up an app and getting it running locally and installing a running app into Confluence.

Connecting Coda to local Wordpress install hosted with Mamp Pro

I have been using Coda and regular version of Mamp for local development for longtime without getting into this permission mess. I recently, upgraded to Mamp Pro and setup it with VHosts. I have a site example.com with it's root path set to /Users/john/Sites/example. I have set the owner and group to www in Mamp Pro.
The moment I got all this configured I started having problems with Coda. It keeps asking me the username and password to edit the local files at /Users/john/Sites/example. I guess I have to enable FTP on my Mac and then add a site in Coda to stop it asking me to enter username password for every single file. However, I have no idea on how to get this working. I am using Lion 10.7.2
Additionally, I have setup etc/hosts file for pointing example.com to 127.0.0.1
UPDATE: Though the accepted answer by #mini does not directly answer this question. It is still an elegant solution with seamless integration with Coda.
Consider using DesktopServer instead (along with Coda 2). Unlike MAMP, you can work on template theme files directly with WYSIWYG preview, LAN share for mobile device testing (with WordPress, -not just HTML sites), enables AirPreview to work with WordPress, copy, import/export to live sites, etc. Setup is easy as it manages your vhosts, database, and project files in about three mouse clicks:
http://www.youtube.com/watch?v=Pw9-F8etBPY

Setup MVC2 Web App with IIS7

I've seen SO MANY articles that explain how to do this with IIS6, and some that offer SOME guides for IIS 7 but they are ask you to do so much setup and I've tried them all and ALWAYS get errors.
Is there a guide out there that some of you have used that just...works?
All I need is something step by step to setup my local MVC2 app using my local IIS7 server so I can test locally without using VS2010's dev server all the time (gets so annoying).
Assuming you have IIS installed locally you could go to the properties of the project and:
You may also find the following blog post useful.