Git Product home page Git Product logo

cafebabel.com's Introduction

Cafebabel

Installation

Requirements

  • Python 3.6+
  • MongoDB 3.4+

Preparing the project

python3 -m venv ./venv
source ./venv/bin/activate

Installing the dependencies

pip install -e .

Installing the database

Install and launch MongoDB on default port (27017) or tune it in your settings.local.py (see Configuring section).

flask initdb

You may reset your database by deleting the /cafebabel.db file and re-initializing the database.

Configuring

If existing, the file settings.local.py at the root of the project will override the default settings.py configuration.

Running the project

export FLASK_APP=cafebabel
export FLASK_DEBUG=1
flask run

Running a dummy mail server

sudo python -m smtpd -n -c DebuggingServer localhost:25

Production installation

In order to deploy to the staging server, you should have an SSH access to the server.

Your server must have python3.6 installed.

Installation can be processed with make install. Deploying will run through make deploy.

Documentation

Architecture Decision Records

Please document important architecture decisions, you can use adr-tools for this.

Existing ones are located in docs/architecture/decisions.

cafebabel.com's People

Contributors

davidbgk avatar johangiraud avatar vinyll avatar

Watchers

 avatar  avatar  avatar  avatar

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.