creating an app

29 views
Skip to first unread message

jewenyene

unread,
May 5, 2013, 11:23:53 AM5/5/13
to rapi...@googlegroups.com
Hi guys, 
just for clarification, for crating an application in a rapidsms project, I keep getting some
tutorials  saying that we use "python rapidsms startapp app_name" (this give errors)
or "(./)rapidsms-admin.py startapp app_name"(got error), so i just did "python manage.py app_name"
 but it didn't come with the app.py file, so I added it straight!

which one is the best ?

ass...@gmail.com

unread,
May 5, 2013, 12:30:28 PM5/5/13
to rapi...@googlegroups.com
Hi,

The following should be easy steps for your first app

In your fresh virtualenv ...

pip install rapidsms
django-admin.py startproject --template=https://github.com/rapidsms/rapidsms-project-template/zipball/release-0.14.0 --extension=py,rst <your_project_name>
cd <your_project_name>
python manage.py startapp <your_app_name>
cd <your_app_name>
touch app.py

Add your <your_app_name> to the INSTALLED_APPS

and you are ready to start coding...

Find detailed instructions about installing rapidsms here: http://rapidsms.readthedocs.org/en/develop/intro/install/index.html

Find information about creating your first app here: http://rapidsms.readthedocs.org/en/v0.14.0/design/apps.html

Have fun.

A/a.


2013/5/5 jewenyene <kuristoc...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "rapidsms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rapidsms+u...@googlegroups.com.
To post to this group, send email to rapi...@googlegroups.com.
Visit this group at http://groups.google.com/group/rapidsms?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages