how can i start my app?

Subscribe to how can i start my app? 6 post(s), 4 voice(s)

 
Avatar felipex 2 post(s)

Hi,

I installed djangostack sucessfully. Then I put my project ‘mysite’ in projects folder, but how can i start my app?
I type http://127.0.0.1 and the BitNami page appears, but when I type http://127.0.0.1/mysite/admin the 404 error appears.
Can anyone help me?

Thanks

—-—-—-—-
Felipe Cavalcante

 
Avatar diego Moderator 16 post(s)

Hi felipex:

Please give us some info:
- Have you created the project during the installation?
- Which OS are you using?

Cheers

 
Avatar felipex 2 post(s)

Hi diego,

I installed it in Windows Vista.
I created a project during installation, this project works fine, but when i put another project in project folder this one does not work.

Thanks!

--
Felipe Cavalcante

 
Avatar helpdjangome 2 post(s)

I installed it into Vista. What I found was that the BitNami shell shortcut directed to USER/ <folders>/mysite/ where it should be the installed directory C:\Program Files\BitNami DjangoStack\projects\ because \mysite\ would be located there.
I then go into cd mysite and run my server with python manage.py runserver

hope that is clear enough

to edit the batch file, just right click the shortcut and edit it in whatever text editor you use. You’ll see it directing to some path, but it’s wrong because that’s not where the project file was even created.

Bitnami missed that one

 
Avatar antonio Administrator 530 post(s)

Thanks helpdjangome, I’ll tell the DjangoStack developer about this issue.

 
Avatar diego Moderator 16 post(s)

Well, I think that there is an issue but it’s another one. If I were a django developer I would prefer having my projects at my home directory. So I think that the link is correct, but the issue to fix would be the initial project, that should be created also at the home directory and not under Program Files. This was created this way in order to be “close” to the djangoconsole, but all of this can be reconfigured in the next djangostack release.

We would like to hear from all of you what is your preferred configuration because we want the djangostack that users want.

Cheers and thank you for your solution.