https://github.com/synbiodex/sboljs-tutorial
https://github.com/synbiodex/sboljs-tutorial
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/synbiodex/sboljs-tutorial
- Owner: SynBioDex
- Created: 2018-01-18T14:37:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-06T21:36:04.000Z (over 8 years ago)
- Last Synced: 2025-01-11T19:38:35.032Z (over 1 year ago)
- Language: JavaScript
- Size: 21.8 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## How to install
First, clone the repository and move into the directory:
```
git clone git@github.com:chrisAta/sboljs-tutorial.git
cd sboljs-tutorial
```
Then, install the dependencies:
```
npm install
npm install -g browserify
```
After that, create the required bundle.js file using browserify:
```
browserify main.js -o bundle.js
```
Finally, you then have to put the tutorial on something like nginx. To do this, install nginx:
`sudo apt install nginx`
You then need to add a server to the nginx sites-enabled. For example, create a new .conf file in '/etc/nginx/sites-enabled/' called tutorial.conf and write:
```
server {
listen 81;
root /path/to/sboljs-tutorial;
}
```
And then restart nginx:
```
systemctl restart nginx
```
With the above .conf file, you should then be able to access and use the tutorial at localhost:81/sboljstutorial.html.