https://github.com/zackartz/hotel-react
react version of hotel.js
https://github.com/zackartz/hotel-react
Last synced: over 1 year ago
JSON representation
react version of hotel.js
- Host: GitHub
- URL: https://github.com/zackartz/hotel-react
- Owner: zackartz
- Created: 2019-11-14T08:28:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-11T07:54:14.000Z (over 6 years ago)
- Last Synced: 2025-01-08T17:08:47.320Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://hotel.zxck.dev
- Size: 438 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hotel - React
## I used the Create React App Script to build the boilerplate project.
## Installing
To get deploy the app, you need to have [node.js](https://nodejs.org/) downloaded and installed.
I used the package manager [yarn](https://yarnpkg.com) for my package management, to get the app up and running, yarn is not required, but recommended.
To install yarn, open cmd or a terminal and type
```
npm i -g yarn
```
use sudo if you are on linux/osx
Now to install the required dependencies, (react, etc.) type this in a terminal in the project's root directory.
```
yarn
```
or for npm
```
npm install
```
## Running
To start the development server, type this into a terminal in the project's root directory.
```
yarn start
```
or for npm
```
npm start
```
## Using Docker
### Building
```
docker build -t hotel-react:dev
```
### Running
```
docker run hotel-react:dev
```
Thanks for reading! The project should automatically open up in a new browser window, if not it should be on http://localhost:3000
## Special Features
- use * to clean out all members
- check logs in console
## Kubernetes
To use the gihub workflow files, you need a
- Kubernetes Instance (I use 2x1c2GB)
- A docker hub account
- Patience
The KUBECONFIG (which you can download if you use [linode](https://linode.com)) is encoded in base64 and then stored as a secret, along with your docker hub username & docker hub password. Make sure to edit the workflow configuration to your username and the name of the repo.
Hopefully it will just work, if not, send me a email and I'll help ya out.
### Built by Zachary Myers