Gencrud-engine - free software for creating web projects


Gencrud-engine is a platform for creating simple websites, corporate websites, an online store or blogs. The platform is easy to expand and configure, which will allow you to create a project of any complexity.

NEW

Installation Gencrud-engine

 

For Ubuntu

git clone https://github.com/gencrud/gencrud.git
. install.sh

Congratulations! Open the browser - http://localhost:8000

 

For Windows

  • Install git
  • Install Python
  • Install virtualenv and activate it
  • Start Migrations
  • Launch the project (see Installation Description below)

 

Installation Description

  1. Downoload or clone git clone https://github.com/gencrud/gencrud-engine.git the gencrud-engine repo.
  2. Open the console in the root directory gencrud and type ll. You should see the following folder and file structure:
    1. gencrud/
    2. .gitignore
    3. README.md
    4. install.sh
  3. Next, we will install and launch the project. This script will install the virtual environment, install the database (SQLite by default) and add the default theme - 
    1. . install.sh

Congratulations! Open the browser - http:localhost:8000.

The welcome page should be displayed. Next, you need to fill in the general settings in the admin panel to see the home page with your content. It should take about a minute!

 

Project structure (after installation)

  • app/ - interface folder (css, js, images)
  • gencrud/ - back and folder (core)
  • theme/ - theme folder (html, media)
  • venv/ - virtual environment folder
  • README.md
  • install.sh
  • .gitignore

 

Technology versions

You can learn more about the dependencies in the file gencrud/requirements.txt.

 


Todo: future changes
  1.     Fix description of this section
  2.     Copy ssh_key  from general/gen/settings.py
  3.     Fix using DB general/gen/settings_db.py
  4.     Upgrade - ?. The upgrade.zip archive must exist into the root.

 

cd <PROJECT_NAME>
. gencrud/gencrud/sh/upgrade.sh -h  # check command
. gencrud/gencrud/sh/upgrade.sh core

 

Next, fix settings_db.sql

python gencrud/manage.py makemigrations
python gencrud/manage.py collectstatic --noinput
python gencrud/manage.py migrate

Useful comands:

All next commands run from the root <your_project_name> folder. 

Run tests - python gencrud/manage.py test
Create a supers user - python gencrud/manage.py createsuperuser
Run project - python gencrud/manage.py runserver