Giter VIP home page Giter VIP logo

fam-kyagulanyi-cms's Introduction

The Mwebaza Enterprise

The familie Portal of Mr Kyagulanyi Vicent. Is a user specific environment for familie members

Contributing? How to get started

Using Pycharm?

  • $ git clone https://github.com/pmutale/fam-kyagulanyi-cms.git
  • $ cd fam-kyagulanyi-cms
  • Create a virtual environment $ virtualenv venv
  • Install requirements $ pip install -r requirements.txt
  • Create a new branch according to issue you are working on $ git checkout -b { MILESTONE }-{ BRANCH-NAME } e.g. git checkout -b 1-Adding-Bootstrap
  • Set upstream to remote with $ git push -u origin { NAME OF NEW BRANCH } e.g. git push -u origin 1-Adding-Bootstrap
  • In github - add a milestone, a project and create or add existing tags
  • Start CODING

Database Setup

Postgres?

  • Create a .pgpass file in the format

    hostname:port:database:username:password:commit

  • PSQL into postgres sudo -u posgres psql

  • Create database mwebaza_enterprise with password => mwebaza

     CREATE DATABASE mwebaza_enterprise;
     CREATE USER youruser WITH ENCRYPTED PASSWORD 'mwebaza';
     GRANT ALL PRIVILEGES ON DATABASE mwebaza TO mwebaza;
    
  • Run migrations with python manage.py migrate

  • Create a superuser python manage.py createsuperuser --username xxx --email [email protected]

Styles setup [ Look and feel ]

Semantic UI

  • Install Semantic UI with npm

    At the root of your project run the following commands. If you dont have npm checkout the following guidelines.

  • Build Sematic UI

      $ npm install  #Run after npm/node is installed!
      $ npm install semantic-ui --save
          => When asked "Where should we put Semantic UI"... use `static/` folder
      $ npm install gulp --global
      $ cd static/semantic/
      $ gulp build
    
  • Getting started:

    • In your etc/hosts file you should create an endpoint for the application. Edit your hosts file and add the following.

      127.0.0.1 mwebaza.localhost

    • To be able to get the application running. You have to build the scripts and start the server

       $ npm run watch
      

Start your application and if watch runs you should be able to access the project on http://mwebaza.localhost:9090 Live/Production WebPortal: http://kirumba.org

fam-kyagulanyi-cms's People

Contributors

dependabot[bot] avatar pmutale avatar snyk-bot avatar tendoivan avatar

Watchers

 avatar  avatar

fam-kyagulanyi-cms's Issues

First things First

We're so excited we can make an API! Now that you're here, let's make sure you know how to get the most out of GitHub Projects.

  • Create a new project
  • Give your project a name
  • Press the ? key to see available keyboard shortcuts
  • Add a new column
  • Drag and drop this card to the new column
  • Search for and add issues or PRs to your project
  • Manage automation on columns
  • Archive a card or archive all cards in a column

Create Themes app

  • Create an themes app
  • Direct a URL configuration in the main URLs .py file
  • Create a base template

Django CMS settings

  • Latest Django Build
    -[x] Edit the settings file
    -[x] Make English default language
    -[x] Point to themes base template

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.