Simple Invoicing App
- Flask
- Cassandra
- ImgBB
Clone to the local machine using git
git clone https://github.com/coderanges/invoiceninja.git
change directory and install depedencies using below commands
cd invoiceninja
pip install -r requirements.txt
Database and Image hosting
Install Cassandra from here
you can sign up at ImgBB and get your API key and then set it as env variable ImgBB_API_KEY
Create .env file and add the following variables
CASSANDRA_HOSTS=127.0.0.1
CASSANDRA_KEYSPACE=invoice_generator
CASSANDRA_USER=cassandra
CASSANDRA_PASSWORD=cassandra
SECRET_KEY=your_secret_key
ImgBB_API_KEY=your_api_key
Run local server using
python3 index.py
python index.py OR python3 index.py
py index.py
Now open any browser on your computer and enter this link
http://127.0.0.1:8082and press enter.
You should be able to see the app running.