-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.md~
79 lines (59 loc) · 1.46 KB
/
README.md~
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# README #
This README would normally document whatever steps are necessary to get your application up and running.
### What is this repository for? ###
* Quick summary
* Version
* [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
### How do I get set up? ###
* Summary of set up
Setup a virtualenv with python 3 (I used python3.4).
On windows (10 at least), installing virtualenv
```
#!python
c:\python34\python -m pip install virtualenv
```
Creating a virtualenv
```
#!python
c:\python34\python -m virtualenv <virtual_env_dir>
```
using the virtualenv
```
#!python
<virtual_env_dir>\Scripts\activate.bat
```
On linux
Creating a virtualenv
```
#!python
virtualenv --python=python3.4 .virtualenv/"my custom name"
```
using the virtualenv
```
#!python
source .virtualenv/"my custom name"/bin/activate
```
* Configuration
* Dependencies
Go into the repo and pip install django and numpy
* Database configuration
run
```
#!python
python manage.py migrate
```
* How to write commands to test your code
Go into the folder "room_booking/room_display/management/commands/"
Then create a ".py" file in which you run some code (like create an object and call its methods). You can execute that by typing :
```
#!python
python manage.py your_code_file_name_without_extension
```
* Deployment instructions
### Contribution guidelines ###
* Writing tests
* Code review
* Other guidelines
### Who do I talk to? ###
* Repo owner or admin
* Other community or team contact