Skip to content

Commit

Permalink
Replace webpack with vue cli service for local development; Other fix…
Browse files Browse the repository at this point in the history
…es and structure changes
  • Loading branch information
PedroDinis committed Apr 4, 2022
1 parent 570b649 commit a356656
Show file tree
Hide file tree
Showing 31 changed files with 3,880 additions and 883 deletions.
6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
API_URL=
DOCUMENT_IMAGES_URL=
DOCUMENT_ID=
VUE_APP_API_URL=
VUE_APP_DOCUMENT_IMAGES_URL=
VUE_APP_DOCUMENT_ID=
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.DS_Store
node_modules/
public/data
dist/

# Environments
.env
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Software Required:

- node
- npm
- webpack

# **Installation**

Expand All @@ -21,8 +20,8 @@ Follow the steps below to get the app running.
1. Clone Repository
2. Run `npm install` in the project root.
3. Create a `.env` file in the project root with the properties from the `.env.example` file.
4. Run `npm run build` to build the app.
5. Export the `public` folder to a web server or run `npm run start` to have a local server to test the app (default localhost:3000).
4. Run `npm run serve` to serve a local development app to run on a browser (default localhost:3000).
5. Run `npm run build` to build the app for production and then export the `dist` folder to a web server.

# **Documentation**

Expand Down
22 changes: 0 additions & 22 deletions app/index.js

This file was deleted.

Loading

0 comments on commit a356656

Please sign in to comment.