-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updated readme and makefile
- Loading branch information
Showing
12 changed files
with
43 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,44 @@ | ||
# Source | ||
Will contain the backend and front end pieces | ||
Will contain the backend and front end pieces | ||
------------- | ||
# art-club-website | ||
Art Club website at IIIT-H <br/> | ||
virtual env can be activated by <br/> | ||
Art Club website at IIIT-H <br/> | ||
|
||
I have kept all the project files in ./src directory <br/> | ||
project name: webpage <br/> | ||
app name : webapp <br/> | ||
|
||
to get started | ||
```console | ||
foo@bar:~/art-club-website/src$ make | ||
``` | ||
this installs requirements and takes you to virtual env | ||
<br> | ||
<br> | ||
```console | ||
foo@bar:~/art-club-website/src$ python3 ./mange.py runserver | ||
``` | ||
gets the server running on localhost ie. http://127.0.0.1:8000/<br> | ||
<br> | ||
#### Advanced: | ||
For only activating virtual env: | ||
```console | ||
foo@bar:~/art-club-website/src$ source bin/activate | ||
foo@bar:~/art-club-website/src$ make activate | ||
``` | ||
or you can simply install by running | ||
for only installing required packages: | ||
|
||
```console | ||
foo@bar:~/art-club-website/src$ make | ||
foo@bar:~/art-club-website/src$ make install | ||
``` | ||
for exiting virtual env: | ||
`deactivate` | ||
<br> | ||
for changing the server's port | ||
```console | ||
foo@bar:~/art-club-website/src$ python3 ./mange.py runserver <port number> | ||
``` | ||
If you want to change the server’s IP, pass it along with the port | ||
<br> (make sure to add it in ALLOWED_HOSTS in /art-club-website/src/webpage/settings.py) | ||
```console | ||
foo@bar:~/art-club-website/src$ python3 ./mange.py runserver <ip addrs>:<port number> | ||
``` | ||
I have kept all the project files in ./src directory <br/> | ||
project name: webpage <br/> | ||
app name : webapp <br/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
all: a | ||
|
||
a: | ||
all: | ||
pip3 install -r requirements.txt | ||
source bin/activate | ||
install: | ||
pip3 install -r requirements.txt | ||
env: | ||
source bin/activate |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters