A web-based booking platform designed to allow teachers and school staff to book computer devices, rooms, and resources.
The development environment looks to create a consistent devlopment experience across all devices. It can be setup by doing the following:
- Use the
cd
command to navigate to the root of this project - Install docker-compose via your Linux installs package manager
- Update the
.env.local
file with the correct environment variables - Run
docker-compose up
to run docker-compose with atail
watching the log, ordocker-compose up -d
to silently start the dev server - Navigate to
127.0.0.1
in your browser to access the frontend, or127.0.0.1:3000
to access the API
Note, there is currently a bug. The node_modules folder that was generated by docker belongs to root:root. If you want to add any new packages you will need to chown
that folder with sudo chown -R $(whoami) node_modules
to ensure that you are the proper owner.
Note #2, you can also use this method on Windows but it is significantly slower than running it natively.
- Install yarn via NPM, rails (version specified in backend GemFile), and ruby (version specified in backend GemFile)
- Open the project folder in your IDE of choice
- Install the packages for the frontend by running the
yarn
command in the root of the directory, and install the Gems for the backend by runningbundle
in thebackend
directory - Use the
yarn run dev
command in the root andrails s
in thebackend
directory to start both components of the project