- Fork the project by clicking on the Fork button on the top-right section of this page.
- Clone it using the following command in your local working directory
$ git clone https://github.com/[YOUR_GIT_USERNAME]/WebsiteOne-FE.git
#or ( using ssh)
$ git clone [email protected]:[YOUR_GIT_USERNAME]/WebsiteOne-FE.git
- Install dependencies
$ cd WebsiteOne-FE
$ yarn install
$ yarn start
$ yarn test
On windows:
yarn windows-test
Note : At this level, you should be able to run the project. In case an upgrade is needed for semantic UI, following the section below.
This command needs to be run with npm - yarn does not support interactive prompt installs
$ npm install --save-dev semantic-ui`
Then remove the dependency from package.json and delete the package-lock.json file - we do not want it as a dependency for every user
This will create a new semantic folder and copy our defaut file:
cp site.variables semantic/src/site/globals/`
Then you can build semantic-ui
gulp build
or ./../node_modules/gulp/bin/gulp.js build
use the default values
and copy the folder to our src folder
cp -R dist/* ../src/assets/
- Ensure you have docker installed. Install docker
- Change to the project root directory. (./WebsiteOne-FE)
- Create an image with the following command
docker build -f docker/Dockerfile -t websiteone-fe:dev .
- Run the created image with
docker run -p 80:80 websiteone-fe:dev
- Access the application on localhost port 80