No questions asked when installing Django CMS - so no bootstrap - django

I installed Django CMS through Powershell using the command:
pip install djangocms-installer
I'm new to this, and the tutorial that I've been following suggested that I should be asked questions to set up Bootstrap and the SuperUser account. These questions weren't asked. Does anybody know why and how I could change this by hand? The django docs don't seem to be much help here because they assume that the questions are asked.
It occurs when I create a new project using:
djangocms -p . project
It just runs through rather than asking questions - no errors to report

I don't know if this helps but I had all sorts of headaches the first time I tried to install Django-cms. After much head scratching I did get it to successfully install and I was able to get up and running with it. I also created a crib sheet along the way of all the steps I took.
I have published this crib sheet on my website and you are welcome to go and review it, print it off etc. It will take you right back to the very beginning which may be unnecessary but hopefully you might be able to cherry pick the bits that you need. Hope it helps.
http://www.ubsltd.co.uk/index.php/creating-a-cms-website-with-django

Related

Setting up a blog on AWS Cloud9

I'm new to programming, and i've been following the upskill course for about 2 weeks now. Everything was going great untill yesterday. I started the Deep Dive: Build a Blog section that uses Cloud9 and Ruby to build a blog. I have tried many times to follow the exact same path as the instructor but i keep on having the same problem.
The commands that I input in the terminal are the following (I do this on a new environment with the default settings).
$ rails new blog
Then the instructor ask us to change the 'sqlite3' line in the file called "gemfile" into gem 'sqlite3', '1.3.13'. To use the same version as him.
I then inpunt :
cd
cd environment
cd blog
bundle install
bundle update
rails generate scaffold Post title:string body:text
rake db:migrate
rails server
It is at this point that the problem occurs. The instructor terminal's response 3 more lines that i don't have . In my case the output stops at Ctrl c to shut down.
Plus after that the instructor click preview running application and is sent to the "ruby welcome page". He then get rid of a part of the URL to go to the blog. In my case the URL is completely different from his, it looks like that https://c187d78accd944209c8f91023e991d71.vfs.cloud9.us-east-2.amazonaws.com/ (actual URL). and his like that
Please help to solve this i can not see anything in preview page.
Do you guys know what I've been doing wrong ?
Thank you for reading all of these it's my first time posting so i hope it's kind of understandable.
Have a great day
I am trying to solve this problem but i can't solve this.
please help me why i am not see anything in preview page ?

Svelte(kit) template rendering issue

I am very new with svelte and svelte(kit), apologies if this might be a naïve question.
I have an issue where svelte(kit) displays %sveltekit.head% and %sveltekit.body% instead of the actual svelte page being rendered.
This issue is only when I try to point the flask endpoint to svelte's html page but the application independently runs perfectly fine.
This is my first question, so incase if you need more details on this, let me know.
I tried running 'npm run build' -> cd package -> npm publish to create and publish the package but it doesn't work. Not sure if I am doing something wrong.
I also tried to read documentations and understood something like svelte(kit) has its own backend and frontend but not sure what I should be doing.
Svelte(kit) with Flask Backend - Some Questions
This question here is kind of similar, but I cannot understand what or how I could solve where I am stuck.

OpenCart 3.0.3.8 upgrade to 4.0.1.1

I recently upgraded an old store from 2.0.1.1 to 3.0.3.8 but to comply with PHP8 I need to upgrade again from 3.0.3.8 to 4.x. My question stems because I was able to successfully install the new 4.0.1.1 storefront, but I am no longer able to access my admin panel. Attempting to login to my admin will always give me the error that the account does not exist.
I have double checked the config.php files in both my root & admin folders and the database information stored there is correct. Also, I checked my actual database to make sure the user accounts weren't deleted in the upgrade and they were not.
I don't see a lot of documentation about the upgrade process to a 4.x OpenCart storefront so I am coming here in hopes someone has been brave enough to attempt this upgrade that may be able to point me in the right direction. Some tips and tricks would be greatly welcomes because I imagine this is just the first of many moles I am going to need to whack.
Let me know if any code would be needed/handy, but keep in mind this install is basically all stock barebones at this point because I haven't even tried to activate my custom theme yet (mostly because I can't access the admin to activate it).
Solved this by upgrading to the OpenCart 3.x.x_Maintenace branch, instead of OpenCart 4.x.x version, as it is also PHP8 compliant and much more stable.
For anyone with similar issues, they can refer this link.

Django Install Not Visible - No Errors

I recently did a successful Django install, and everything went as expected. No errors. But, nothing shows up. It is as if I had never installed Django.
There are no errors. Checking Django/Python versions returns as expected. From the console, I can create new projects/apps, run migrations, create users, etc. Everything seems to work. Except, when I go to mydomain.com, it just loads the old site's index.html as if Django doesn't exist.
I realize the above question isn't a good question. I figured out my problem before posting the question and decided to post my answer below with the question for future reference should others have the same issue later.
After the fruitless task of deleting and recreating my project files, I eventually figured out what happened with my Django installation. I had never enabled Passenger. On the web host in this case, DreamHost, it is just a simple checkbox in the control panel to enable, but I never did.
Other than the fact that I should have remembered I need to do enable Passenger for Django to show up, a couple things should have tipped me off. There was no tmp folder with a restart.txt file. I manually added it (that file's important), but didn't stop to think about why it wasn't there. Also, the html files were loading without being in the public folder.
That gave me an hour or so of frustration today, so I thought others might google this later and find this useful. Searching for "Django site has no errors but still doesn't work" wasn't a fruitful avenue for me.

Using Redmine with an external Wiki?

We've got a company wiki running Mediawiki on our intranet that has been in use for a while. We just recently installed Redmine and are in the process of getting it configured just the way we like it.
I was wondering if there's any way to use our already existing wiki instead of the built-in one that comes with Redmine. We've got alot of articles & documentation written by non-developers and don't want to lose and/or re-import into another wiki (ie redmine's). The Wiki portion of redmine will not allow me to enter the url for the external wiki as it includes various illegal characters (mainly : and /)
Edit: As a temporary work around, I've just used each project main page on the "external" Wiki as the Projects "Home Page" in Red Mine, so far this is the best I've been able to figure out. You don't get Wiki access from the various issues & what not, but the link to our other Wiki does show under the Overview for each project now.
Btw, both of these are installed on the same physical box, a Windows 2003 Server, where Mediawiki was installed using a WAMP package, and Redmine was installed pretty much manually instead of using a stack like Bitnami.
Did you see this MediaWiki integration patch for Redmine? http://www.redmine.org/attachments/572/redmine-mediawiki.patch and its reference page http://www.redmine.org/issues/617 I have not used it so im not sure if it meets your needs but it might be worth a shot. (Be sure to backup first)
The reference page says this about the patch:
Here's a patch for 0.7 that will add a
MediaWiki tab to your project settings
and integrate it into the issues
pages. You will also need to add:
is_mediawiki tinyint(1) NOT NULL
default '0', mediawikiurl
varchar(255) NOT NULL default '',
mediawikinamespace varchar(255) NOT
NULL default ''
To the projects table for this to
work.
I know you didn't want to import but just in case someone else did here is a rake file for importing MediaWiki pages into Redmine http://www.redmine.org/issues/1224
We looked into this as an option since there are so many tools that work with mediawiki however we decided not to pursue the option since we already had so many issues and wiki pages in redmine. As far as I can tell, this patch replaces the existing redmine wiki input boxes with mediawiki boxes. This is done not only in the wiki section but also for issues and documents. We were afraid of:
Losing all of our existing wiki pages, and issue descriptions.
The whole thing breaking as Redmine updates are posted and installed.
We have found that the newest Wiki Extensions plug in http://www.r-labs.org/projects/r-labs/wiki/Wiki_Extensions_en has given us most of the features we wanted for the wiki part. It has comments, voting, tags, and many other things. It works well with the latest version of Redmine.
We still are trying to find a good way to import into the wiki all of our existing documentation from word.