Skip to content
This repository has been archived by the owner on Sep 10, 2020. It is now read-only.

[docs] development env uses sqlite but docs explain to use postgresql #53

Closed
AlessiaVe opened this issue Nov 6, 2017 · 4 comments
Closed
Labels
docs Important Higher priority or release blocker

Comments

@AlessiaVe
Copy link
Contributor

AlessiaVe commented Nov 6, 2017

When I installed django freeradius, I saw that some staps are missing in the documentation. I follow this tutorial, http://django-freeradius.readthedocs.io/en/latest/general/freeradius.html, for the installation of freeradius on a virtual machine with debian. Among installation requirements of sql there is also python_ mysql.db . After do that for the configuration with postgresql, It's necessary to install and import the schema.sql in postgres. There isn't any tutorial for this.

@nemesisdesign

@nemesifier
Copy link
Member

You can create the database structure using ./manage.py migrate. Did you import the sql from freeradius? That wouldn't work. Let me know. I'm asking this question in order to understand how to make the docs more explicit.

@AlessiaVe
Copy link
Contributor Author

By default the enviroment for the development is sqlite but if someone wants make an installation for the production, the procedure is different and there isn't any description of this in the documentation (for example the passages which include the installation and configuration of postgres).

@AlessiaVe AlessiaVe changed the title Documentation [docs] Add production installation page (postgresql/mysql) Nov 7, 2017
@openwisp openwisp deleted a comment from peppelinux Dec 30, 2017
@nemesifier nemesifier changed the title [docs] Add production installation page (postgresql/mysql) [docs] development env uses sqlite but docs explain how to use postgresql Dec 30, 2017
@nemesifier nemesifier changed the title [docs] development env uses sqlite but docs explain how to use postgresql [docs] development env uses sqlite but docs explain to use postgresql Dec 30, 2017
@nemesifier
Copy link
Member

Summary:

  • the development environment uses sqlite by default
  • in the Installation and configuration of Freeradius 3 page we show how to configure freeradius with postgres but we don't explain how to configure the development environment with postgresql

Proposed solution: add a new section after "How to install freeradius 3" in Installation and configuration of Freeradius 3 the page which explains how to reconfigure the development environment using postgresql, create the database and run the development server so freeradius will work when started.

This way we will achieve a smooth guide for newcomers.

@nemesifier nemesifier added the Important Higher priority or release blocker label Jan 3, 2018
@rohithasrk
Copy link
Contributor

Can help with this.

rohithasrk added a commit to rohithasrk/django-freeradius that referenced this issue Mar 9, 2018
nemesifier referenced this issue Mar 9, 2018
[docs] Added dev environment config instructions
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
docs Important Higher priority or release blocker
Projects
None yet
Development

No branches or pull requests

3 participants