Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I have created Django python web app .How to add it to github am new to both of these and have searched web for somedays without any luck.
Recommend you to look into tutorials, following code is a pointer.
git init
git add .
git commit -m 'First commit'
git remote add origin <github repo link>
git push origin master
I don't want to confuse you since your new to both Git and Django. So this is what I would say.
You should understand and learn git first (before continuing with Django or any other language). It's not very difficult and I would recommend doing a free 2 hours course on Codecademy. Simply know that Git is an essential now days and is used for everything.
Django doesn't require Git but a good practice, you could continue without it but at somepoint in the future you probably will have to learn Git. So learn Git first and it's not difficult to learn.
Just understand the concept of Git and why we use it.
Learn how to use Git and things will start to make sense to you. Practice and you will understand the concept and the purpose behind it.
Hope that helps.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Sometimes binary files can't be downloaded with get or curl. For example,
let's say a colleague has shared a .zip file from his google drive.
Or perhaps there is a download button that doesn't have a direct link to the file location so that the only way to get it is clicking on that button within a browser. Following redirects works sometimes, but sometimes not.
These are just a couple of situations that I've personally run into where I cannot access a file I need for work without downloading it first to my personal computer (which may not have space, or may have slow connection). Then I have to find a way to upload those files to a different location where wget or curl works so that I can get them onto my cloud instance and actually get to work.
One solution I thought of would be to find a way to run a browser on/through the cloud instances internet connection. I'm not sure if this capability exists or not.
Would this work? If not, what other solutions have people come up with?
I tried to reproduce your issue in my own project.
I created an Ubuntu Instance, and I tried to download something from the internet without using curl or wget.
The only way I found to download something is using a browser for the command line.
I tested many of them in order to check which of them could be better, and for me links2 and Elinks are the best.
For this test, I shared a file from my Google Drive, I added the option to share with Anyone with a link to the file
I installed Links2 with the following command:
sudo apt-get install links2
To start it just type
links2
It will open a black screen then press g (or [esc] to see the menu)
Then paste the URL
https://drive.google.com/uc?id=GOOGLE-DRIVE-FILE-ID&export=download
Then save the file:
And then I was able to see the file in my Ubuntu:
MY-USER#INSTANCE-NAME:~$ ls -ltr
total 1540
-rw-rw-r-- 1 MY-USER MY-USER 1573568 Nov 2 19:23 SteamSetup.exe
Keep in mind that if the link works with Javascript you might have problems with the download.
In my case as the URL was public I was able to download the file but, I didn’t test with the authentication to Google.
Take in consideration that the url shared by drive is something like https://drive.google.com/file/d/GOOGLE-DRIVE-FILE-ID/view?usp=sharing
I just modified the URL to download the file to
https://drive.google.com/uc?id=GOOGLE-DRIVE-FILE-ID&export=download
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I am new use to Vtiger CRM. I need Entity Module.
I use to https://community.vtiger.com/help/vtigercrm/developers/extensions/examples/entity-module.html#expenses-php.
But, I can't find bootstrap vtlib script in root folder of Vtiger to activate the module entry.
The documentation clearly says to create that file and put it in root folder.
Create new file, name it what ever you want for eg: new_module.php and write code for new module as in the documentation
Run the script once like http://yourcrm.com/new_module.php. It will register the module and its field details in database.
You might require other supporting files like module class file language file in appropriate locations
There is another easy way to create modules in vtiger using vtiger console script.
you can read how to create modules using console app from this url
https://lajeeshk.com/quickly-create-vtiger-modules-in-seconds/
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
Version: 8.0
It was working and all of sudden it started throwing this error.
Update Note: After installing fresh install of site core instance , it worked fine and I have created outside project to built site specific templates and used publish option visual studio to deploy outside project files to the site core website folder. It started failing.
Well it's really hard to answer without details, but I would suggest you to replace the bin of your website from a fresh Sitecore 8.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I’m using a Ubuntu VPS to host a couple of Ring web apps. I have a separate GNU Screen window for each one, and I start and stop them using lein run and ^C, respectively. This works, but it feels amateurish and if anything goes wrong these services won’t be restarted automatically.
I’d like to set something up so that I can start and stop my apps using Ubuntu’s service command (which I already use to start and stop nginx). Is there some kind of shortcut I can use to get these apps working with the service command? For example, is there some Leiningen- or Ring-friendly template into which I can just insert my application’s path? Failing that, what would be the best practices for writing my own service script to integrate with Jetty?
It depends on whether you want your service to run straight from your project directory, or whether you want to go through the intermediate step of creating and installing a build artifact.
Certainly during development it's more convenient to use lein run from your project directory. For the sake of repeatability, I'd recommend using the second approach for production systems.
The general approach would be to use the lein uberjar task to create a stand-alone JAR file. From there, it's pretty straightforward (though somewhat tedious) to create a script you can stick in /etc/init.d to run the JAR file, either directly via java or using jsvc.
It looks like there's a Leiningen plugin (lein-init-script) to automate the process of generating the service script, though I don't have any experience with it. You'll probably want to check that out.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I do not know anything in Siebel. But we have a requirement that I need to comment one line of code in one of the applet scripts and build a new SRF. What is the procedure? I am using Siebel 6 and I have access to Siebel tools.
Also let me know any useful sites for help on Siebel 6.
You should have your local repository connected to a server repository so you can check out and check in your changes to the server repository. If you are not worried about check outs and check ins then you can do the following. Otherwise you have environment setup steps to perform before commenting out the code.
If you know the applet where the script is located, then search and right click that applet in Siebel Tools. Select Edit Server Scripts (if not there then choose the option Edit Browser Scripts). Find the line of code and prefix with //. Ctrl S to save the changes. That line of code should turn green.
Now the changes are in your local repository. You should put a SRF file from your server environment on your local machine. Right click your applet and select Compile Selected Objects and choose the file that you copied to your local machine.
Now your change has been compiled into the SRF that originated from the server and is ready to be deployed to your server for testing. You will have to shutdown, move the srf, and restart siebel services before being able to test your changes.