Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme to Python3 #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -7,44 +7,44 @@ A simple Income and Expense system.

To run Bestoon in development mode; Just use steps below:

1. Install `python2`, `pip`, `virtualenv` in your system.
1. Install `python3`, `pip3`, `virtualenv` in your system.
2. Clone the project `https://github.com/jadijadi/bestoon`.
3. Make development environment ready using commands below;

```bash
git clone https://github.com/jadijadi/bestoon && cd bestoon
virtualenv -p python2 build # Create virtualenv named build
virtualenv -p python3 build # Create virtualenv named build
source build/bin/activate
pip install -r requirements.txt
pip3 install -r requirements.txt
mv bestoon/settings.py.sample bestoon/settings.py
python manage.py migrate # Create database tables
python3 manage.py migrate # Create database tables
```

4. Run `Bestoon` using `python manage.py runserver`
4. Run `Bestoon` using `python3 manage.py runserver`
5. Go to [http://localhost:8000](http://localhost:8000) to see your Bestoon version.

## Run On Windows

If You're On A Windows Machine , Make Environment Ready By Following Steps Below:
1. Install `python2`, `pip`, `virtualenv`
1. Install `python3`, `pip3`, `virtualenv`
2. Clone the project using: `git clone https://github.com/jadijadi/bestoon`.
3. Make Environment Ready Like This:
``` Command Prompt
cd bestoon
virutalenv -p "PATH\TO\Python.exe" build # Give Full Path To python.exe
virutalenv -p "PATH\TO\Python3.exe" build # Give Full Path To python.exe
build\Scripts\activate # Activate The Virutal Environment
pip install -r requirements.txt
pip3 install -r requirements.txt
move bestoon\settings.py.sample bestoon/settings.py
python manage.py migrate # Create Database Tables
python3 manage.py migrate # Create Database Tables
```
4. Run `Bestoon` using `python manage.py runserver`
4. Run `Bestoon` using `python3 manage.py runserver`
5. Go to [http://localhost:8000](http://localhost:8000) to see your Bestoon version.

## Run tests

To run tests in Bestoon simply use `python manage.py test`.
To run tests in Bestoon simply use `python3 manage.py test`.

If you want more verbosity you can use `-v` option with `0, 1, 2, or 3.`; e.g. `python manage.py test -v2`
If you want more verbosity you can use `-v` option with `0, 1, 2, or 3.`; e.g. `python3 manage.py test -v2`

## More Clients