Skip to content

Commit 5c6eee9

Browse files
committed
readme updadted
1 parent 30c0bfd commit 5c6eee9

File tree

1 file changed

+66
-2
lines changed

1 file changed

+66
-2
lines changed

README.md

Lines changed: 66 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,67 @@
1-
# parkify
1+
# Parkify
22

3-
Parking Web Application.
3+
A simple way to solve your complex parking issues.
4+
5+
---
6+
## Requirements
7+
8+
For development, you will only need Node.js and a node global package, npm, installed in your environement.
9+
10+
### Node
11+
- #### Node installation on Windows
12+
13+
Just go on [official Node.js website](https://nodejs.org/) and download the installer.
14+
Also, be sure to have `git` available in your PATH, `npm` might need it (You can find git [here](https://git-scm.com/)).
15+
16+
- #### Node installation on Ubuntu
17+
18+
You can install nodejs and npm easily with apt install, just run the following commands.
19+
20+
$ sudo apt install nodejs
21+
$ sudo apt install npm
22+
23+
- #### Other Operating Systems
24+
You can find more information about the installation on the [official Node.js website](https://nodejs.org/) and the [official NPM website](https://npmjs.org/).
25+
26+
If the installation was successful, you should be able to run the following command.
27+
28+
$ node --version
29+
v8.11.3
30+
31+
$ npm --version
32+
6.1.0
33+
34+
If you need to update `npm`, you can make it using `npm`! Cool right? After running the following command, just open again the command line and be happy.
35+
36+
$ npm install npm -g
37+
38+
###
39+
40+
---
41+
42+
## Install
43+
44+
$ git clone https://github.com/codehackerone/parkify
45+
$ cd parkify
46+
$ npm install
47+
48+
## Configure environmental variables
49+
50+
Create a `.env` file then edit it with your settings. You will need:
51+
- ENV=development
52+
- PORT=[your_port]
53+
- MONGO_URI=[your_mongo_uri]
54+
- JWT_SECRET=[your_jwt_secret]
55+
- EXPIRY=[your_jwt_expiry_time]
56+
- SECRET=[your_secret_for_mongostore]
57+
- EMAIL=[your_email_address]
58+
- PASS=[your_email_password]
59+
- CLOUDINARY_CLOUD_NAME=[your_cloudinary_cloud_name]
60+
- CLOUDINARY_KEY=[your_cloudinary_key]
61+
- CLOUDINARY_SECRET=[your_cloudinary_secret]
62+
- MAPBOX_TOKEN=[your_mapbox_project]
63+
## Running the project
64+
65+
$ npm start
66+
or
67+
$ npx nodemon

0 commit comments

Comments
 (0)