Open johnfelipe opened 10 years ago
Hola johnfelipe,
Mi español es malo pero estoy aprendiendo. Lo siento por la "spanglish". Usted pueda ser mas especifico? Quiera agregar informacion con la terminal? You can enter "rails c" in project root to access the rails command line. From there, you can enter, por ejemplo, "u = User.find_by_login('any_user_login')" and change attributes "u.state = 'VA'" and save with "u.save()'. Tambien pueda agregar nueva informacion con "foo = Model.new(Hash of parameters)" y "foo.save()".
Depending on what I'm testing, I use both the backend and frontend interface. Espero que esto sea util y responda tu prugunta. Gracias por utilizar OpenCongress!
Manual add info is possible with admin user and backend interface
Ah you're talking from the admin interface in the browser. Yes, I believe so. I'm new to Rails and OpenCongress so I'm still becoming familiar with all the features of both. I will try to answer any questions you have as best as possible.
What is admin user, path admin ui or how create one
Ah I see. /admin will get you to a basic admin ui in your browser. However, there is no built-in admin user. You would need to make one in the database yourself. We use postgresql and the specific models/tables to look at is "user" and "user_roles". Check out http://www.postgresql.org/docs/9.3/interactive/index.html for documentation on postgresql and how to construct queries.
then opencongress havent backend admin like this:
Hi, please tell me, is or isnt admin backend interface?
Hi @johnfelipe, I don't think there's any part of our back end interface that looks like the screenshot you've posted.
Manual entry is not possible?
Hi, i install local enviroment, but is possible add information with backend interface or only works with API?