Skip to content

Application for Writers to Build, Collaborate and Manage Books with Section & Sub Section Hiearchy

Notifications You must be signed in to change notification settings

WaseemSabir/Writebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Writebook

Writebook is application that makes it easier for you to write documents. The documents have section, subsection hiearchy and can be edited, shared and downloaded with an intuitive user interfece. you can view the example of app functionality here.

alt text

Getting Started

WriteBook is built with angular and django rest framework and has basic dependencies of node, npm, python and pip. After you have those dependencies installed, open the terminal and run following commands to get started.

git clone https://github.com/WaseemSabir/Writebook.git # or you can unzip the code
cd Writebook # skip if terminal opened inside project folder

create an python enviorment and install server dependencies and run server:

python3 -m venv env
source env/bin/activate # for linux based machine
cd serverApp
pip install -r requirements.txt
python3 manage.py runserver

This will start a server at http://127.0.0.1:8000/ that will be used for API calls.

To serve the application, you will need angular cli that you can install with following command:

npm install -g @angular/cli

Open another terminal inside WriteBook folder and run following commands to serve client application:

cd clientApp
npm install
ng serve

This will start a server at http://localhost:4200, go to the url to use the application.