Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Agedel authored Dec 21, 2022
1 parent 3e68e0e commit 61b90b2
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ This is an example of how to list things you need to use the software and how to

- npm
```sh
npm install npm@latest -g
$npm install npm@latest -g
```

### Installation (TO RUN THE FRONTEND)
Expand All @@ -87,32 +87,32 @@ _How to run the current project on local device:_

1. Clone the repo
```sh
git clone https://github.com/BU-Spark/se-shared-decision-making.git
$git clone https://github.com/BU-Spark/se-shared-decision-making.git
```
2. Install NPM packages
```sh
npm install
$npm install
```
3. Enter the frontend folder in the directory

```sh
cd frontend
npm start
$cd frontend
$npm start
```

_Runs the frontend from local host Open [http://localhost:3000](http://localhost:3000) to view it in the browser. Will update when edits are made._

**Other useful npm commands**

```sh
npm test
$npm test
```

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

```sh
npm run build
$npm run build
```

Builds the app for production to the `build` folder.\
Expand All @@ -124,7 +124,7 @@ Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

```sh
npm run eject
$npm run eject
```

_Note: this is a one-way operation. Once you `eject`, you can’t go back!_
Expand All @@ -146,8 +146,8 @@ You don’t have to ever use `eject`. The curated feature set is suitable for sm
**To host locally:**

```sh
cd new-strapi
npm install
$cd new-strapi
$npm install
```

Create .env file and paste following:
Expand All @@ -160,7 +160,7 @@ _ADMIN_JWT_SECRET=w3fdKjGIQ4m0bJOYQxRBbA==_
_JWT_SECRET=EC1lm5cICpaxnYCl2990Ig==_

```sh
npm run develop
$npm run develop
```

**To login in:** Create your own account and start
Expand All @@ -183,8 +183,8 @@ Here is what the final website should look like: [Figma Wireframe](https://www.f
To host locally:

```sh
cd frontend
npm install && npm run start
$cd frontend
$npm install && npm run start
```

$cd frontend
Expand All @@ -193,16 +193,16 @@ $npm install && npm run start
**To redeploy site and push new changes:**

```sh
npm run build
firebase deploy --only hosting
$npm run build
$firebase deploy --only hosting
```

**To redesignate github repo for CI/CD:**

```sh
firebase login
cd frontend
firebase init
$firebase login
$cd frontend
$firebase init
```

_follow prompt for connecting to GitHub_
Expand Down

0 comments on commit 61b90b2

Please sign in to comment.